summaryrefslogtreecommitdiff
path: root/drivers/cfi_flash.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-12-18 22:35:43 +0000
committerwdenk <wdenk>2004-12-18 22:35:43 +0000
commitf7d1572bf51619554f278cb543ef0445baa3a1f8 (patch)
treeac5ad0054651a4c3596f9809f534df4587163111 /drivers/cfi_flash.c
parent8e6b47a89b6db05594f559f7829e5dc54c0df86e (diff)
downloadu-boot-imx-f7d1572bf51619554f278cb543ef0445baa3a1f8.zip
u-boot-imx-f7d1572bf51619554f278cb543ef0445baa3a1f8.tar.gz
u-boot-imx-f7d1572bf51619554f278cb543ef0445baa3a1f8.tar.bz2
Add support for UC100 board
Diffstat (limited to 'drivers/cfi_flash.c')
-rw-r--r--drivers/cfi_flash.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c
index 7ac0be6..4ced810 100644
--- a/drivers/cfi_flash.c
+++ b/drivers/cfi_flash.c
@@ -144,6 +144,12 @@
#define CFI_CMDSET_SST 258
+#ifdef CFG_FLASH_CFI_AMD_RESET /* needed for STM_ID_29W320DB on UC100 */
+# undef FLASH_CMD_RESET
+# define FLASH_CMD_RESET AMD_CMD_RESET /* use AMD-Reset instead */
+#endif
+
+
typedef union {
unsigned char c;
unsigned short w;