summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.kernelfmt21
1 files changed, 20 insertions, 1 deletions
diff --git a/target/config/Config.in.kernelfmt b/target/config/Config.in.kernelfmt
index 2a1fb1e9f..b80853385 100644
--- a/target/config/Config.in.kernelfmt
+++ b/target/config/Config.in.kernelfmt
@@ -84,6 +84,25 @@ config ADK_TARGET_KERNEL_LOADADDR
default 0x40008000 if ADK_TARGET_SYSTEM_ORANGE_PI0
default 0xc0008000 if ADK_TARGET_SYSTEM_ST_STM32F746G
+config ADK_TARGET_KERNEL_VENDORED_DTB
+ bool
+ default y
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_6_1
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_5_15
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_5_10
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_5_4
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_19
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_14
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_9
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_4
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_3_16
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_3_4
+ default n if ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
+ help
+ Starting with linux-6.5, DTB files sit in vendor-specific
+ sub-directories.
+
config ADK_TARGET_KERNEL_APPEND_DTB
string
- default "armada-xp-synology-ds414" if ADK_TARGET_SYSTEM_SYNOLOGY_DS414
+ default "armada-xp-synology-ds414" if ADK_TARGET_SYSTEM_SYNOLOGY_DS414 && !ADK_TARGET_KERNEL_VENDORED_DTB
+ default "marvell/armada-xp-synology-ds414" if ADK_TARGET_SYSTEM_SYNOLOGY_DS414 && ADK_TARGET_KERNEL_VENDORED_DTB