diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cfi_flash.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index 7ac0be663..4ced81038 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; |