diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-04-05 16:56:54 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-04-05 17:12:55 +0100 |
commit | e92b153e99a8019752b08c6ab0f7c17d9f08063e (patch) | |
tree | f5ee696d2ae83e5d719b9c05251add60bd537f0c /target/linux/mediatek/image/mt7629.mk | |
parent | 0dc5fc8fa53be55c3adc59055e7f6f150a5ab1ad (diff) | |
download | upstream-e92b153e99a8019752b08c6ab0f7c17d9f08063e.tar.gz upstream-e92b153e99a8019752b08c6ab0f7c17d9f08063e.tar.bz2 upstream-e92b153e99a8019752b08c6ab0f7c17d9f08063e.zip |
mediatek: introduce KERNEL_LOADADDR to Device/Default template
We need to reset KERNEL_LOADADDR if we use it on a per-device base.
Otherwise the previous value will be kept in case a device doesn't
define KERNEL_LOADADDR and relies on the default.
Move initializing KERNEL_LOADADDR to target/linux/mediatek/image/Makefile,
similar to how it's done also on the ramips target.
This fixes image size related breakage on devices which rely on the
default value of KERNEL_LOADADDR.
While at it use 0x48000000 which is more common than the previous default
0x44000000 for the filogic subtarget.
Fixed: e7c399bee6 ("filogic: add support for ASUS TUF-AX4200")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/image/mt7629.mk')
-rw-r--r-- | target/linux/mediatek/image/mt7629.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/mediatek/image/mt7629.mk b/target/linux/mediatek/image/mt7629.mk index 891b65c4e7..3f5b2e2579 100644 --- a/target/linux/mediatek/image/mt7629.mk +++ b/target/linux/mediatek/image/mt7629.mk @@ -1,5 +1,3 @@ -KERNEL_LOADADDR := 0x40008000 - define Device/mediatek_mt7629-rfb DEVICE_VENDOR := MediaTek DEVICE_MODEL := MT7629 rfb AP |