aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/spi.c
diff options
context:
space:
mode:
authorRobert Jordens <jordens@gmail.com>2016-01-15 18:31:12 -0700
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-02-13 22:57:54 +0000
commitde239311629e684e88a2e60d9d19c77d1fc35ae5 (patch)
tree9df2330dcb15f1df3d2f2e3d4a9dabec7a704660 /src/flash/nor/spi.c
parenta4ce9a2c719b1f7536ada1c9fa8f1eb672b04897 (diff)
downloadriscv-openocd-de239311629e684e88a2e60d9d19c77d1fc35ae5.zip
riscv-openocd-de239311629e684e88a2e60d9d19c77d1fc35ae5.tar.gz
riscv-openocd-de239311629e684e88a2e60d9d19c77d1fc35ae5.tar.bz2
flash/nor/spi: reorder to group micron devices
Change-Id: Ic5b13e8b994d0741a0a12cd7ed427191b42958e2 Signed-off-by: Robert Jordens <jordens@gmail.com> Reviewed-on: http://openocd.zylin.com/3207 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/spi.c')
-rw-r--r--src/flash/nor/spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index fdbdec4..b615ab9 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -69,7 +69,8 @@ const struct flash_device flash_devices[] = {
FLASH_ID("mac 25l1605", 0xd8, 0xc7, 0x001520c2, 0x100, 0x10000, 0x200000),
FLASH_ID("mac 25l3205", 0xd8, 0xc7, 0x001620c2, 0x100, 0x10000, 0x400000),
FLASH_ID("mac 25l6405", 0xd8, 0xc7, 0x001720c2, 0x100, 0x10000, 0x800000),
- FLASH_ID("mcr n25q064", 0xd8, 0xc7, 0x0017ba20, 0x100, 0x10000, 0x800000),
+ FLASH_ID("micron n25q064", 0xd8, 0xc7, 0x0017ba20, 0x100, 0x10000, 0x800000),
+ FLASH_ID("micron n25q128", 0xd8, 0xc7, 0x0018ba20, 0x100, 0x10000, 0x1000000),
FLASH_ID("win w25q80bv", 0xd8, 0xc7, 0x001440ef, 0x100, 0x10000, 0x100000),
FLASH_ID("win w25q32fv", 0xd8, 0xc7, 0x001640ef, 0x100, 0x10000, 0x400000),
FLASH_ID("win w25q32dw", 0xd8, 0xc7, 0x001660ef, 0x100, 0x10000, 0x400000),
@@ -79,6 +80,5 @@ const struct flash_device flash_devices[] = {
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)
};