From: Mahavir Jain Date: Fri, 16 Oct 2015 09:42:36 +0000 (+0530) Subject: flash/nor/spi: Add GigaDevice gd25q16c/32c/128c flash support X-Git-Tag: v0.10.0-rc1~385 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fabbb880ec0ee4a6779dc40c65c999fe81eb484e;p=openocd flash/nor/spi: Add GigaDevice gd25q16c/32c/128c flash support Change-Id: I44052fd3467d7e0bbdc038b815204e39fa499684 Signed-off-by: Mahavir Jain Reviewed-on: http://openocd.zylin.com/3029 Tested-by: jenkins Reviewed-by: Antonio Borneo Reviewed-by: Freddie Chopin --- diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c index 11458455..fdbdec48 100644 --- a/src/flash/nor/spi.c +++ b/src/flash/nor/spi.c @@ -76,6 +76,9 @@ const struct flash_device flash_devices[] = { FLASH_ID("win w25q64cv", 0xd8, 0xc7, 0x001740ef, 0x100, 0x10000, 0x800000), FLASH_ID("win w25q128fv", 0xd8, 0xc7, 0x001840ef, 0x100, 0x10000, 0x1000000), FLASH_ID("gd gd25q20", 0x20, 0xc7, 0x00c84012, 0x100, 0x1000, 0x80000), + FLASH_ID("gd gd25q16c", 0xd8, 0xc7, 0x001540c8, 0x100, 0x10000, 0x200000), + FLASH_ID("gd gd25q32c", 0xd8, 0xc7, 0x001640c8, 0x100, 0x10000, 0x400000), + FLASH_ID("gd gd25q128c", 0xd8, 0xc7, 0x001840c8, 0x100, 0x10000, 0x1000000), FLASH_ID("micron n25q128", 0xd8, 0xc7, 0x0018ba20, 0x100, 0x10000, 0x1000000), FLASH_ID(NULL, 0, 0, 0, 0, 0, 0) };