diff options
author | wdenk <wdenk> | 2004-12-18 22:35:43 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-12-18 22:35:43 +0000 |
commit | f7d1572bf51619554f278cb543ef0445baa3a1f8 (patch) | |
tree | ac5ad0054651a4c3596f9809f534df4587163111 /drivers/cfi_flash.c | |
parent | 8e6b47a89b6db05594f559f7829e5dc54c0df86e (diff) | |
download | u-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.c | 6 |
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; |