From: Gabor Juhos <juhosg@openwrt.org>
Date: Wed, 28 Dec 2011 08:43:36 +0000 (+0000)
Subject: ramips: rt288x: change base address and window size of flash bank 0
X-Git-Tag: reboot~15262
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f50b02b55974403f02e163536729f07edc6e9873;p=openwrt%2Fstaging%2Fchunkeey.git

ramips: rt288x: change base address and window size of flash bank 0

SVN-Revision: 29616
---

diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h
index 2ae26ef8b5..b5f4812b5c 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x_regs.h
@@ -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 */