]> git.sur5r.net Git - openocd/commitdiff
flash/nor/spi: Add GigaDevice gd25q16c/32c/128c flash support
authorMahavir Jain <mjain@marvell.com>
Fri, 16 Oct 2015 09:42:36 +0000 (15:12 +0530)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 5 Nov 2015 22:28:24 +0000 (22:28 +0000)
Change-Id: I44052fd3467d7e0bbdc038b815204e39fa499684
Signed-off-by: Mahavir Jain <mjain@marvell.com>
Reviewed-on: http://openocd.zylin.com/3029
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/flash/nor/spi.c

index 11458455d43237690ae0bc978d37449db496ffde..fdbdec484e9c771fa144adc00c05cb31b794451a 100644 (file)
@@ -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)
 };