From 0c5fc41bd6cc25c1ad4346dbf50f4eabc6625d0f Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 3 Feb 2009 07:26:31 +0000 Subject: [ar71xx] fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14382 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ar71xx/files-2.6.28/arch') diff --git a/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h index 5aba593e29..a4e6ed3ecf 100644 --- a/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h @@ -59,6 +59,9 @@ #define AR91XX_WMAC_BASE (AR71XX_APB_BASE + 0x000C0000) #define AR91XX_WMAC_SIZE 0x30000 +#define AR71XX_MEM_SIZE_MIN 0x0200000 +#define AR71XX_MEM_SIZE_MAX 0x8000000 + #define AR71XX_CPU_IRQ_BASE 0 #define AR71XX_MISC_IRQ_BASE 8 #define AR71XX_MISC_IRQ_COUNT 8 -- cgit v1.2.3