X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fnon_cfi.c;h=b49e4415062ba9e2476d313f401bf3c0ded19486;hb=99939c3c75f3bef44d4cd176e90a6c5fe8b833da;hp=f98b108014c621232c38b54cd583e50bb94014d2;hpb=fe9228a32db930be297d4d3b35ffb94d6de1b9ab;p=openocd.git diff --git a/src/flash/nor/non_cfi.c b/src/flash/nor/non_cfi.c index f98b108014..b49e441506 100644 --- a/src/flash/nor/non_cfi.c +++ b/src/flash/nor/non_cfi.c @@ -23,8 +23,9 @@ #include "config.h" #endif -#include "non_cfi.h" +#include "imp.h" #include "cfi.h" +#include "non_cfi.h" #define KB 1024 @@ -279,6 +280,23 @@ static struct non_cfi non_cfi_flashes[] = { ERASE_REGION(15, 64*KB) } }, + { + .mfr = CFI_MFR_FUJITSU, + .id = 0xba, /* 29LV400BC */ + .pri_id = 0x02, + .dev_size = 512*KB, + .interface_desc = 0x1, /* x8 or x16 device w/ nBYTE */ + .max_buf_write_size = 0x00, + .status_poll_mask = CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7, + .num_erase_regions = 4, + .erase_region_info = + { + ERASE_REGION(1, 16*KB), + ERASE_REGION(2, 8*KB), + ERASE_REGION(1, 32*KB), + ERASE_REGION(7, 64*KB) + } + }, { .mfr = CFI_MFR_AMIC, .id = 0xb31a, /* A29L800A */