flash: Add the Freedom E310-G002 SPI Flash
authorAlistair Francis <alistair.francis@wdc.com>
Wed, 13 May 2020 22:03:44 +0000 (15:03 -0700)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 14 Jun 2020 13:23:17 +0000 (14:23 +0100)
Change-Id: Id9f4a209a6eacf186931b142e70a5b0458517be0
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-on: http://openocd.zylin.com/5679
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tim Newsome <tim@sifive.com>
src/flash/nor/fespi.c

index 90242b1ad6a034686e15483cd2c7feec76cd438c..05489fdfb0a6a5e13ec0c3d0e6efbbbad6fada76 100644 (file)
@@ -136,7 +136,8 @@ struct fespi_target {
 /* TODO !!! What is the right naming convention here? */
 static const struct fespi_target target_devices[] = {
        /* name,   tap_idcode, ctrl_base */
-       { "Freedom E300 SPI Flash",  0x10e31913 , 0x10014000 },
+       { "Freedom E310-G000 SPI Flash",  0x10e31913 , 0x10014000 },
+       { "Freedom E310-G002 SPI Flash",  0x20000913 , 0x10014000 },
        { NULL,    0,           0          }
 };