summaryrefslogtreecommitdiff
path: root/include/configs/TQM860M.h
diff options
context:
space:
mode:
authorMartin Krause <martin.krause@tqs.de>2007-09-27 11:10:08 +0200
committerWolfgang Denk <wd@denx.de>2007-12-27 02:00:10 +0100
commite318d9e9021a0af7508171f84ed09d0e79f0284e (patch)
treeaaf20f071c0b760825e310fb1b8a8eb06ad137d8 /include/configs/TQM860M.h
parent11d9eec479b470eab9242ab937fca70a876d9376 (diff)
downloadu-boot-imx-e318d9e9021a0af7508171f84ed09d0e79f0284e.zip
u-boot-imx-e318d9e9021a0af7508171f84ed09d0e79f0284e.tar.gz
u-boot-imx-e318d9e9021a0af7508171f84ed09d0e79f0284e.tar.bz2
TQM8xx: use the CFI flash driver on all TQM8xx boards
Signed-off-by: Martin Krause <martin.krause@tqs.de>
Diffstat (limited to 'include/configs/TQM860M.h')
-rw-r--r--include/configs/TQM860M.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h
index 44ad53e..8601de1 100644
--- a/include/configs/TQM860M.h
+++ b/include/configs/TQM860M.h
@@ -189,11 +189,14 @@
/*-----------------------------------------------------------------------
* FLASH organization
*/
-#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
-#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
-
-#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
-#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
+/* use CFI flash driver */
+#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
+#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */
+#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
+#define CFG_FLASH_EMPTY_INFO
+#define CFG_FLASH_USE_BUFFER_WRITE 1
+#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
+#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
#define CFG_ENV_IS_IN_FLASH 1
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */