From f4446e8f9e1be2d0b78ef493740b8871e20c8e57 Mon Sep 17 00:00:00 2001 From: luka Date: Tue, 22 Jan 2013 12:55:01 +0000 Subject: uboot-lantiq: upgrade to 2013.01 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35292 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...00-add-option-to-boot-from-AVM-EVA-loader.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/boot/uboot-lantiq/patches/0024-MIPS-VRX200-add-option-to-boot-from-AVM-EVA-loader.patch (limited to 'package/boot/uboot-lantiq/patches/0024-MIPS-VRX200-add-option-to-boot-from-AVM-EVA-loader.patch') diff --git a/package/boot/uboot-lantiq/patches/0024-MIPS-VRX200-add-option-to-boot-from-AVM-EVA-loader.patch b/package/boot/uboot-lantiq/patches/0024-MIPS-VRX200-add-option-to-boot-from-AVM-EVA-loader.patch new file mode 100644 index 000000000..ba24baef1 --- /dev/null +++ b/package/boot/uboot-lantiq/patches/0024-MIPS-VRX200-add-option-to-boot-from-AVM-EVA-loader.patch @@ -0,0 +1,33 @@ +From 2c6115188c7353a601835885a6c544240cfc479e Mon Sep 17 00:00:00 2001 +From: Daniel Schwierzeck +Date: Fri, 30 Nov 2012 18:09:25 +0100 +Subject: MIPS: VRX200: add option to boot from AVM EVA loader + +Signed-off-by: Daniel Schwierzeck + +--- a/arch/mips/cpu/mips32/vrx200/config.mk ++++ b/arch/mips/cpu/mips32/vrx200/config.mk +@@ -17,6 +17,9 @@ endif + LIBS-y += $(CPUDIR)/lantiq-common/liblantiq-common.o + + ifndef CONFIG_SPL_BUILD ++ifdef CONFIG_SYS_BOOT_EVA ++ALL-y += $(obj)u-boot.bin.lzma ++endif + ifdef CONFIG_SYS_BOOT_SFSPL + ALL-y += $(obj)u-boot.ltq.sfspl + ALL-$(CONFIG_SPL_LZO_SUPPORT) += $(obj)u-boot.ltq.lzo.sfspl +--- a/arch/mips/include/asm/arch-vrx200/config.h ++++ b/arch/mips/include/asm/arch-vrx200/config.h +@@ -161,6 +161,11 @@ + #define CONFIG_SYS_DISABLE_CACHE + #endif + ++#if defined(CONFIG_SYS_BOOT_EVA) ++#define CONFIG_SYS_TEXT_BASE 0x80100000 ++#define CONFIG_SKIP_LOWLEVEL_INIT ++#endif ++ + #if defined(CONFIG_SYS_BOOT_NOR) + #define CONFIG_SYS_TEXT_BASE 0xB0000000 + #endif -- cgit v1.2.3