From: Robert Jordens Date: Mon, 22 Feb 2016 17:00:38 +0000 (+0100) Subject: flash/nor/spi: fix macronix 25l1005 chip erase X-Git-Tag: v0.10.0-rc1~195 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=763adce1cb1904fba3361442a88aa378e69e8f8a;p=openocd flash/nor/spi: fix macronix 25l1005 chip erase Change-Id: Ibc445bbe9360d0f1f41e71af8b990b96e0ae5d1f Signed-off-by: Robert Jordens Reviewed-on: http://openocd.zylin.com/3349 Tested-by: jenkins Reviewed-by: Freddie Chopin --- diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c index b615ab96..17051311 100644 --- a/src/flash/nor/spi.c +++ b/src/flash/nor/spi.c @@ -62,7 +62,7 @@ const struct flash_device flash_devices[] = { FLASH_ID("atmel 25f4096", 0x52, 0x62, 0x0064001f, 0x100, 0x10000, 0x80000), FLASH_ID("atmel 25fs040", 0xd7, 0xc7, 0x0004661f, 0x100, 0x10000, 0x80000), FLASH_ID("mac 25l512", 0xd8, 0xc7, 0x001020c2, 0x010, 0x10000, 0x10000), - FLASH_ID("mac 25l1005", 0xd8, 0xd8, 0x001120c2, 0x010, 0x10000, 0x20000), + FLASH_ID("mac 25l1005", 0xd8, 0xc7, 0x001120c2, 0x010, 0x10000, 0x20000), FLASH_ID("mac 25l2005", 0xd8, 0xc7, 0x001220c2, 0x010, 0x10000, 0x40000), FLASH_ID("mac 25l4005", 0xd8, 0xc7, 0x001320c2, 0x010, 0x10000, 0x80000), FLASH_ID("mac 25l8005", 0xd8, 0xc7, 0x001420c2, 0x010, 0x10000, 0x100000),