summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-07-17 19:01:08 -0500
committerStefan Roese <sr@denx.de>2009-07-24 06:42:32 +0200
commit42735815dd9ba39efe51203868aebce04053c8de (patch)
tree5b6b90d0d0a7f971cbd72f52b73546609b5976e1 /include/configs
parente02990764c7415c84668823a0fc8c5b4dd8d8cf0 (diff)
downloadu-boot-imx-42735815dd9ba39efe51203868aebce04053c8de.zip
u-boot-imx-42735815dd9ba39efe51203868aebce04053c8de.tar.gz
u-boot-imx-42735815dd9ba39efe51203868aebce04053c8de.tar.bz2
xpedite1k: Add support for optional flashes
The XPedite1000 can be built with 4 total flashes: - 512KB AMD socketed - 16MB Intel soldered - 2 x 32MB AMD MirrorBit flashes Add support for the optional 2 32MB CFI-compliant AMD flashes Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/XPEDITE1K.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/XPEDITE1K.h b/include/configs/XPEDITE1K.h
index f141398..0aebe27 100644
--- a/include/configs/XPEDITE1K.h
+++ b/include/configs/XPEDITE1K.h
@@ -106,12 +106,13 @@ extern void out32(unsigned int, unsigned long);
/*
* FLASH related
*/
-#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* number of banks */
-#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE}
-#define CONFIG_SYS_MAX_FLASH_SECT 128 /* sectors per device */
+#define CONFIG_SYS_MAX_FLASH_BANKS 3
+#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE, 0xf0000000, 0xf4000000 }
+#define CONFIG_SYS_MAX_FLASH_SECT 512 /* sectors per device */
#define CONFIG_FLASH_CFI_DRIVER
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
+#define CONFIG_SYS_FLASH_QUIET_TEST /* MirrorBit flashes are optional */
#undef CONFIG_SYS_FLASH_CHECKSUM
#define CONFIG_SYS_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */