summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-05 01:18:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-06 11:53:42 +0100
commitfe4bf8bdb4cc744bc31972c763cf6a810eb7aeba (patch)
treeb3138711aa55fcbf3394a9ffccc125d6580b5df9 /target
parentceb98cfb96c83e006a9b455e2e6f59e7737c0750 (diff)
target: config: Newer kernels moved DTB files
They moved in commit 724ba67515320 ("ARM: dts: Move .dts files to vendor sub-directories"), try to cover for it. Signed-off-by: Phil Sutter <phil@nwl.cc>
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