--- zzzz-none-000/linux-4.9.276/arch/mips/lantiq/Platform 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/arch/mips/lantiq/Platform 2023-04-05 08:19:00.000000000 +0000 @@ -4,6 +4,17 @@ platform-$(CONFIG_LANTIQ) += lantiq/ cflags-$(CONFIG_LANTIQ) += -I$(srctree)/arch/mips/include/asm/mach-lantiq -load-$(CONFIG_LANTIQ) = 0xffffffff80002000 + +# default load address +load-$(CONFIG_LANTIQ) = 0xffffffff80020000 + +# if specific settings are enabled, they will overwrite the default setting: +# load addresses for EVA mode +load-$(CONFIG_EVA) = $(CONFIG_LTQ_EVA_LOAD_ADDR) +# load address for bootcore +load-$(CONFIG_SOC_TYPE_GRX500_TEP) = $(CONFIG_BOOTCORE_LOAD_ADDR) + cflags-$(CONFIG_SOC_TYPE_XWAY) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway cflags-$(CONFIG_SOC_FALCON) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon +cflags-$(CONFIG_SOC_GRX500) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/grx500 +cflags-$(CONFIG_SOC_TYPE_GRX500_TEP) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/grx500