aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Anselmi <danselmi@gmx.ch>2022-12-22 22:28:21 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2023-02-18 18:09:22 +0000
commit79caea8745284ac1d2e8931335b58c679cd11882 (patch)
treeda8911dfbd2f4fe501bb47b0cbe2d8807d626238
parent85ae73de03ebcc723842b7978a6c94b73166f027 (diff)
downloadriscv-openocd-79caea8745284ac1d2e8931335b58c679cd11882.zip
riscv-openocd-79caea8745284ac1d2e8931335b58c679cd11882.tar.gz
riscv-openocd-79caea8745284ac1d2e8931335b58c679cd11882.tar.bz2
flash/nor/spi: add 25pe{10/20/40/80/16}
Change-Id: Ic5660bff83b8636ef397482a3313971ecdff72c0 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7416 Tested-by: jenkins Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--src/flash/nor/spi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/flash/nor/spi.c b/src/flash/nor/spi.c
index b83df96..3bcaa9f 100644
--- a/src/flash/nor/spi.c
+++ b/src/flash/nor/spi.c
@@ -26,6 +26,11 @@ const struct flash_device flash_devices[] = {
* pagesize, sectorsize, size_in_bytes
* note: device id is usually 3 bytes long, however the unused highest byte counts
* continuation codes for manufacturer id as per JEP106xx */
+ FLASH_ID("st m25pe10", 0x03, 0x00, 0x02, 0xd8, 0x00, 0x00118020, 0x100, 0x10000, 0x20000),
+ FLASH_ID("st m25pe20", 0x03, 0x00, 0x02, 0xd8, 0x00, 0x00128020, 0x100, 0x10000, 0x40000),
+ FLASH_ID("st m25pe40", 0x03, 0x00, 0x02, 0xd8, 0x00, 0x00138020, 0x100, 0x10000, 0x80000),
+ FLASH_ID("st m25pe80", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00148020, 0x100, 0x10000, 0x100000),
+ FLASH_ID("st m25pe16", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00158020, 0x100, 0x10000, 0x200000),
FLASH_ID("st m25p05", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00102020, 0x80, 0x8000, 0x10000),
FLASH_ID("st m25p10", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00112020, 0x80, 0x8000, 0x20000),
FLASH_ID("st m25p20", 0x03, 0x00, 0x02, 0xd8, 0xc7, 0x00122020, 0x100, 0x10000, 0x40000),