aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-03 07:26:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-03 07:26:31 +0000
commit03de0031831d86df81e1d05cbe79fb3d9d003989 (patch)
tree9cdf4fcdab9d0cbb1c545410bf7d45c0e6221663 /target/linux/ar71xx/files/include
parentbef15f90f3adbcd4ebe960d070d9fa3b3720f6d0 (diff)
downloadupstream-03de0031831d86df81e1d05cbe79fb3d9d003989.tar.gz
upstream-03de0031831d86df81e1d05cbe79fb3d9d003989.tar.bz2
upstream-03de0031831d86df81e1d05cbe79fb3d9d003989.zip
fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas)
SVN-Revision: 14382
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h
index 5aba593e29..a4e6ed3ecf 100644
--- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/include/asm-mips/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