]> git.sur5r.net Git - openocd/commitdiff
NOR: add 29LV400BC flash device
authorMathias Kuester <kesmtp@freenet.de>
Sat, 5 Dec 2009 13:55:24 +0000 (14:55 +0100)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 5 Dec 2009 19:12:59 +0000 (11:12 -0800)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/flash/nor/non_cfi.c

index 7e73afa1c9ae8a4713ab6eda795acb0b3935760e..b49e4415062ba9e2476d313f401bf3c0ded19486 100644 (file)
@@ -280,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 */