[ar71xx] increase AR71XX_MEM_SIZE_MAX (thanks to Leo Galambos for reporting)
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tew-632brp.c
index fa852898e9acbcc3241bb90318c60a74fc5f0ce3..c3fc2b212d2a2d77f8dbc78a584e267b65a71afb 100644 (file)
@@ -19,7 +19,8 @@
 #include <asm/mips_machine.h>
 
 #include <asm/mach-ar71xx/ar71xx.h>
-#include <asm/mach-ar71xx/platform.h>
+
+#include "devices.h"
 
 #define TEW_632BRP_GPIO_LED_STATUS     1
 #define TEW_632BRP_GPIO_LED_WPS                3
@@ -47,16 +48,16 @@ static struct mtd_partition tew_632brp_partitions[] = {
        } , {
                .name           = "rootfs",
                .offset         = 0x0f0000,
-               .size           = 0x2f0000,
+               .size           = 0x300000,
        } , {
                .name           = "art",
-               .offset         = 0x3e0000,
-               .size           = 0x020000,
+               .offset         = 0x3f0000,
+               .size           = 0x010000,
                .mask_flags     = MTD_WRITEABLE,
        } , {
                .name           = "firmware",
                .offset         = 0x030000,
-               .size           = 0x3b0000,
+               .size           = 0x3c0000,
        }
 };
 #endif /* CONFIG_MTD_PARTITIONS */