summaryrefslogtreecommitdiff
path: root/include/configs/MIP405.h
diff options
context:
space:
mode:
authorDavid Müller <d.mueller@elsoft.ch>2011-12-22 13:38:21 +0100
committerStefan Roese <sr@denx.de>2012-01-09 09:25:01 +0100
commit39441b35c65c110118998116e6a9bb1dfb534eaf (patch)
tree46edae45a25ff6c9643dc8d5fa76d00adaf3557c /include/configs/MIP405.h
parent21be309bb729bde0c46435fdd7166326ac8b8cc3 (diff)
downloadu-boot-imx-39441b35c65c110118998116e6a9bb1dfb534eaf.zip
u-boot-imx-39441b35c65c110118998116e6a9bb1dfb534eaf.tar.gz
u-boot-imx-39441b35c65c110118998116e6a9bb1dfb534eaf.tar.bz2
board/mpl/mip405: use the CFI driver for the MIP405/MIP405T board
Signed-off-by: David Mueller <d.mueller@elsoft.ch> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/MIP405.h')
-rw-r--r--include/configs/MIP405.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h
index 247cd2f..9961fb5 100644
--- a/include/configs/MIP405.h
+++ b/include/configs/MIP405.h
@@ -239,11 +239,17 @@
/*-----------------------------------------------------------------------
* FLASH organization
*/
-#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
-#define CONFIG_SYS_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
+#define CONFIG_SYS_UPDATE_FLASH_SIZE
+#define CONFIG_SYS_FLASH_PROTECTION
+#define CONFIG_SYS_FLASH_EMPTY_INFO
-#define CONFIG_SYS_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
-#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
+#define CONFIG_SYS_FLASH_CFI
+#define CONFIG_FLASH_CFI_DRIVER
+
+#define CONFIG_FLASH_SHOW_PROGRESS 45
+
+#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_SYS_MAX_FLASH_SECT 256
/*
* JFFS2 partitions
@@ -291,6 +297,7 @@
#define FLASH_SIZE_PRELIM 3 /* maximal flash FLASH size bank #0 */
#define CONFIG_BOARD_EARLY_INIT_F 1
+#define CONFIG_BOARD_EARLY_INIT_R
/* Peripheral Bus Mapping */
#define PER_PLD_ADDR 0xF4000000 /* smallest window is 1MByte 0x10 0000*/