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
commit3cfad2c8a054ba41291b3a0abe66b1e9e85229f4 (patch)
treecf5c928393b320ea61b5bb56e9dbfe8d0ce33ac2 /target/linux/ar71xx/files/include
parentb9c493316510d8b80f4957f77ee23e30980d7de8 (diff)
downloadupstream-3cfad2c8a054ba41291b3a0abe66b1e9e85229f4.tar.gz
upstream-3cfad2c8a054ba41291b3a0abe66b1e9e85229f4.tar.bz2
upstream-3cfad2c8a054ba41291b3a0abe66b1e9e85229f4.zip
[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
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