diff options
author | Nikolai Artemiev <nartemiev@google.com> | 2020-10-06 15:36:29 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-12-03 12:32:05 +0000 |
commit | 8fa792fb1f4e71d7cf128a67ce449b5e28c8407a (patch) | |
tree | 5e2fab4e5012405e58befbd30256d420fb883184 /flashchips.h | |
parent | adbae0e2681a994520ea551bd2f66b06de0b0899 (diff) | |
download | flashrom-8fa792fb1f4e71d7cf128a67ce449b5e28c8407a.tar.gz flashrom-8fa792fb1f4e71d7cf128a67ce449b5e28c8407a.tar.bz2 flashrom-8fa792fb1f4e71d7cf128a67ce449b5e28c8407a.zip |
flashchips.c: add Spansion chips
Adds support for the following chips:
- S25FL128S
- S25FL129P
- S25FL256S
- S25FS128S
- {F,S,V}29C51001B
Chips imported from cros flashrom at
`9c4c9a56b6a0370b383df9c75d71b3bd469e672d`.
BUG=b:153800073
TEST=builds
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: If6b23ad2e65258143e0045133828d9db119fb665
Reviewed-on: https://review.coreboot.org/c/flashrom/+/46064
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'flashchips.h')
-rw-r--r-- | flashchips.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/flashchips.h b/flashchips.h index e9c043289..394eb30d2 100644 --- a/flashchips.h +++ b/flashchips.h @@ -662,8 +662,17 @@ #define SPANSION_S25FL204 0x4013 #define SPANSION_S25FL208 0x4014 #define SPANSION_S25FL216 0x4015 /* Same as S25FL216K, but the latter supports OTP, 3 status regs, quad I/O, SFDP etc. */ +#define SPANSION_S25FL116K 0x4015 #define SPANSION_S25FL132K 0x4016 #define SPANSION_S25FL164K 0x4017 +#define SPANSION_S25FS128S_L 0x20180081 /* Large sectors. */ +#define SPANSION_S25FS128S_S 0x20180181 /* Small sectors. */ +#define SPANSION_S25FS256S_L 0x02190081 /* Large sectors. */ +#define SPANSION_S25FS256S_S 0x02190181 /* Small sectors. */ +#define SPANSION_S25FL128S_UL 0x20180080 /* Uniform Large (128kB) sectors */ +#define SPANSION_S25FL128S_US 0x20180180 /* Uniform Small (64kB) sectors */ +#define SPANSION_S25FL256S_UL 0x02190080 /* Uniform Large (128kB) sectors */ +#define SPANSION_S25FL256S_US 0x02190180 /* Uniform Small (64kB) sectors */ /* Spansion 29GL families got a suffix indicating the process technology but share the same 3-Byte IDs. They can * however be differentiated by CFI byte 45h. Some versions exist which have special top or bottom boot sectors |