ramips: rt288x: change base address and window size of flash bank 0
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 28 Dec 2011 08:43:36 +0000 (08:43 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 28 Dec 2011 08:43:36 +0000 (08:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29616 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h

index 2ae26ef..b5f4812 100644 (file)
@@ -29,7 +29,7 @@
 #define RT2880_PCI_BASE                0x00440000
 #define RT2880_WMAC_BASE       0x00480000
 #define RT2880_FLASH1_BASE     0x01000000
-#define RT2880_FLASH0_BASE     0x1fc00000
+#define RT2880_FLASH0_BASE     0x1dc00000
 #define RT2880_SDRAM_BASE      0x08000000
 
 #define RT2880_SYSC_SIZE       0x100
@@ -40,7 +40,7 @@
 #define RT2880_PIO_SIZE                0x100
 #define RT2880_UART1_SIZE      0x100
 #define RT2880_FLASH1_SIZE     (16 * 1024 * 1024)
-#define RT2880_FLASH0_SIZE     (4 * 1024 * 1024)
+#define RT2880_FLASH0_SIZE     (32 * 1024 * 1024)
 
 /* SYSC registers */
 #define SYSC_REG_CHIP_NAME0    0x000   /* Chip Name 0 */