summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-12-29 15:12:09 +0100
committerWolfgang Denk <wd@pollux.(none)>2005-12-29 15:12:09 +0100
commitc7428d49ace4f2f16174ca028fe7072c02a473c8 (patch)
tree5d89b59a9ebdfb1f03d369c844cf83d480a5a51e /include
parent97c8d0bbbd923b85c8d31be6ade673cd0833dda1 (diff)
downloadu-boot-imx-c7428d49ace4f2f16174ca028fe7072c02a473c8.zip
u-boot-imx-c7428d49ace4f2f16174ca028fe7072c02a473c8.tar.gz
u-boot-imx-c7428d49ace4f2f16174ca028fe7072c02a473c8.tar.bz2
Add support for 28F256J3A flah (=> 64 MB) on PM520 board
Diffstat (limited to 'include')
-rw-r--r--include/configs/PM520.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/configs/PM520.h b/include/configs/PM520.h
index 9f1dec8..812bfd0 100644
--- a/include/configs/PM520.h
+++ b/include/configs/PM520.h
@@ -200,12 +200,13 @@
* Flash configuration (8,16 or 32 MB)
* TEXT base always at 0xFFF00000
* ENV_ADDR always at 0xFFF40000
- * FLASH_BASE at 0xFC000000 for 32 MB
+ * FLASH_BASE at 0xFA000000 for 64 MB
+ * 0xFC000000 for 32 MB
* 0xFD000000 for 16 MB
* 0xFD800000 for 8 MB
*/
-#define CFG_FLASH_BASE 0xfc000000
-#define CFG_FLASH_SIZE 0x02000000
+#define CFG_FLASH_BASE 0xFA000000
+#define CFG_FLASH_SIZE 0x04000000
#define CFG_BOOTROM_BASE 0xFFF00000
#define CFG_BOOTROM_SIZE 0x00080000
#define CFG_ENV_ADDR (0xFDF00000 + 0x40000)
@@ -214,17 +215,18 @@
* Flash configuration (8,16 or 32 MB)
* TEXT base always at 0xFFF00000
* ENV_ADDR always at 0xFFF40000
- * FLASH_BASE at 0xFE000000 for 32 MB
+ * FLASH_BASE at 0xFC000000 for 64 MB
+ * 0xFE000000 for 32 MB
* 0xFF000000 for 16 MB
* 0xFF800000 for 8 MB
*/
-#define CFG_FLASH_BASE 0xfe000000
-#define CFG_FLASH_SIZE 0x02000000
+#define CFG_FLASH_BASE 0xFC000000
+#define CFG_FLASH_SIZE 0x04000000
#define CFG_ENV_ADDR (0xFFF00000 + 0x40000)
#endif
#define CFG_MAX_FLASH_BANKS 1 /* max num of memory banks */
-#define CFG_MAX_FLASH_SECT 128 /* max num of sects on one chip */
+#define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */
#define CFG_FLASH_ERASE_TOUT 240000 /* Flash Erase Timeout (in ms) */
#define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (in ms) */