summaryrefslogtreecommitdiff
path: root/include/configs/TQM8260.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-10-31 01:13:37 +0100
committerWolfgang Denk <wd@denx.de>2008-11-02 16:24:16 +0100
commit60c68d9c1c6d18ce02c862a05718fd94f97c13d0 (patch)
tree5bb228ca931aeb82c110ba128593429063f52add /include/configs/TQM8260.h
parent20d04774f4ef3f6e38974636e0e36ae0f0b5501f (diff)
downloadu-boot-imx-60c68d9c1c6d18ce02c862a05718fd94f97c13d0.zip
u-boot-imx-60c68d9c1c6d18ce02c862a05718fd94f97c13d0.tar.gz
u-boot-imx-60c68d9c1c6d18ce02c862a05718fd94f97c13d0.tar.bz2
TQM8260: use CFI flash driver instead of custom driver.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/TQM8260.h')
-rw-r--r--include/configs/TQM8260.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/TQM8260.h b/include/configs/TQM8260.h
index 533c7ad..ac9c94e 100644
--- a/include/configs/TQM8260.h
+++ b/include/configs/TQM8260.h
@@ -300,6 +300,13 @@
#define CONFIG_SYS_FLASH_ERASE_TOUT 240000 /* Flash Erase Timeout (in ms) */
#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (in ms) */
+/* use CFI flash driver */
+#define CONFIG_SYS_FLASH_CFI 1 /* Flash is CFI conformant */
+#define CONFIG_FLASH_CFI_DRIVER 1 /* Use the common driver */
+#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE }
+#define CONFIG_SYS_FLASH_EMPTY_INFO 1
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1
+
#define CONFIG_ENV_IS_IN_FLASH 1
#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0x40000)
#define CONFIG_ENV_SIZE 0x08000