From fabbb880ec0ee4a6779dc40c65c999fe81eb484e Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Fri, 16 Oct 2015 15:12:36 +0530 Subject: [PATCH] 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 --- src/flash/nor/spi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c index 11458455d..fdbdec484 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) };