summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-01 12:35:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-01 15:16:17 +0100
commit2b3bd34a82c6238a9612cf45b8b8730ca0c3c2be (patch)
tree4edcf3eb4f7d0d6e0261d864526a21277e4f56f2 /target/config
parentcef4b6c2d53c3816ade508261b762d935c3fff8b (diff)
mk: Generalize kernel loadaddr
Introduce ADK_TARGET_KERNEL_LOADADDR symbol holding the right kernel loadaddr depending on chosen target system instead of hard-coding the value into kernel-vars.mk. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.kernelfmt5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/config/Config.in.kernelfmt b/target/config/Config.in.kernelfmt
index f1d503e23..bf35f6ba4 100644
--- a/target/config/Config.in.kernelfmt
+++ b/target/config/Config.in.kernelfmt
@@ -63,3 +63,8 @@ config ADK_TARGET_KERNEL
config ADK_TARGET_KERNEL_WITH_COMPRESSION
bool
+
+config ADK_TARGET_KERNEL_LOADADDR
+ hex
+ default 0x40008000 if ADK_TARGET_SYSTEM_BANANA_PRO
+ default 0x40008000 if ADK_TARGET_SYSTEM_ORANGE_PI0