]> git.sur5r.net Git - openocd/commitdiff
flash/nor/spi: add GigaDevice SPI flash
authordmitry pervushin <dpervushin@gmail.com>
Wed, 4 Feb 2015 10:26:14 +0000 (11:26 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 24 Feb 2015 14:48:37 +0000 (14:48 +0000)
Signed-off-by: dmitry pervushin <dpervushin@gmail.com>
Change-Id: I5a239dc67754ef4be1d9ec36186f434b09aa1e25
Reviewed-on: http://openocd.zylin.com/2530
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/spi.c

index 32c00b85b869926a04d0ea368757fe8ed5bb8fef..5bb322c1f958cd6bcc4eb37bef394ea444f312c1 100644 (file)
@@ -74,5 +74,6 @@ const struct flash_device flash_devices[] = {
        FLASH_ID("win w25q32fv",   0xd8, 0xc7, 0x001640ef, 0x100, 0x10000, 0x400000),
        FLASH_ID("win w25q32dw",   0xd8, 0xc7, 0x001660ef, 0x100, 0x10000, 0x400000),
        FLASH_ID("win w25q64cv",   0xd8, 0xc7, 0x001740ef, 0x100, 0x10000, 0x800000),
+       FLASH_ID("gd gd25q20",     0x20, 0xc7, 0x00c84012, 0x100, 0x1000, 0x80000),
        FLASH_ID(NULL,             0,    0,        0,          0,     0,       0)
 };