mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Add support for various ST M25P* chips
Add support for ST M25P05-A, M25P10-A, M25P20, M25P40, M25P16, M25P32, M25P64, M25P128. ST M25P80 support is already there. Not tested, but conforming to data sheets and double checked. Corresponding to flashrom svn r166 and coreboot v2 svn r3012. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
8
flash.h
8
flash.h
@ -172,7 +172,15 @@ extern struct flashchip flashchips[];
|
||||
* byte of device ID is related to log(bitsize) at least for some chips.
|
||||
*/
|
||||
#define ST_ID 0x20 /* ST */
|
||||
#define ST_M25P05A 0x2010
|
||||
#define ST_M25P10A 0x2011
|
||||
#define ST_M25P20 0x2012
|
||||
#define ST_M25P40 0x2013
|
||||
#define ST_M25P80 0x2014
|
||||
#define ST_M25P16 0x2015
|
||||
#define ST_M25P32 0x2016
|
||||
#define ST_M25P64 0x2017
|
||||
#define ST_M25P128 0x2018
|
||||
#define ST_M50FLW040A 0x08
|
||||
#define ST_M50FLW040B 0x28
|
||||
#define ST_M50FLW080A 0x80
|
||||
|
Reference in New Issue
Block a user