[openwrt/openwrt] sunxi: move KERNEL_LOADADDR into subtargets
LEDE Commits
lede-commits at lists.infradead.org
Fri Apr 19 09:44:22 PDT 2024
wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/30149ba1ae5cdb503c7a1024ba3ba56d77797f1c
commit 30149ba1ae5cdb503c7a1024ba3ba56d77797f1c
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Sat Mar 23 23:58:36 2024 +0100
sunxi: move KERNEL_LOADADDR into subtargets
As preparation for the arm926ej-s support which has a different
load address, move the KERNEL_LOADADDR into the subtargets.
Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
target/linux/sunxi/image/Makefile | 1 -
target/linux/sunxi/image/cortexa53.mk | 2 ++
target/linux/sunxi/image/cortexa7.mk | 2 ++
target/linux/sunxi/image/cortexa8.mk | 2 ++
4 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile
index 738585accc..cc1c1ba42d 100644
--- a/target/linux/sunxi/image/Makefile
+++ b/target/linux/sunxi/image/Makefile
@@ -10,7 +10,6 @@ FAT32_BLOCK_SIZE=1024
FAT32_BLOCKS=$(shell echo $$(($(CONFIG_SUNXI_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
DEVICE_VARS := SUNXI_DTS SUNXI_DTS_DIR
-KERNEL_LOADADDR:=0x40008000
define Build/sunxi-sdcard
rm -f $@.boot
diff --git a/target/linux/sunxi/image/cortexa53.mk b/target/linux/sunxi/image/cortexa53.mk
index 63ada59f85..06b409deb7 100644
--- a/target/linux/sunxi/image/cortexa53.mk
+++ b/target/linux/sunxi/image/cortexa53.mk
@@ -3,6 +3,8 @@
# Copyright (C) 2013-2016 OpenWrt.org
# Copyright (C) 2016 Yousong Zhou
+KERNEL_LOADADDR:=0x40008000
+
define Device/sun50i
SUNXI_DTS_DIR := allwinner/
KERNEL_NAME := Image
diff --git a/target/linux/sunxi/image/cortexa7.mk b/target/linux/sunxi/image/cortexa7.mk
index 3191cec4fd..a85b20531d 100644
--- a/target/linux/sunxi/image/cortexa7.mk
+++ b/target/linux/sunxi/image/cortexa7.mk
@@ -3,6 +3,8 @@
# Copyright (C) 2013-2019 OpenWrt.org
# Copyright (C) 2016 Yousong Zhou
+KERNEL_LOADADDR:=0x40008000
+
define Device/cubietech_cubieboard2
DEVICE_VENDOR := Cubietech
DEVICE_MODEL := Cubieboard2
diff --git a/target/linux/sunxi/image/cortexa8.mk b/target/linux/sunxi/image/cortexa8.mk
index dd8a16763b..e27db1ee16 100644
--- a/target/linux/sunxi/image/cortexa8.mk
+++ b/target/linux/sunxi/image/cortexa8.mk
@@ -3,6 +3,8 @@
# Copyright (C) 2013-2016 OpenWrt.org
# Copyright (C) 2016 Yousong Zhou
+KERNEL_LOADADDR:=0x40008000
+
define Device/cubietech_a10-cubieboard
DEVICE_VENDOR := Cubietech
DEVICE_MODEL := Cubieboard
More information about the lede-commits
mailing list