summaryrefslogtreecommitdiff
path: root/drivers/cfi_flash.c
diff options
context:
space:
mode:
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;