From f7d1572bf51619554f278cb543ef0445baa3a1f8 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 18 Dec 2004 22:35:43 +0000 Subject: Add support for UC100 board --- drivers/cfi_flash.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers') 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; -- cgit v1.2.3