mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Add support for ST M25P80 chips
Detection was tested. Print status register before erase to help debugging block locks. Corresponding to flashrom svn r164 and coreboot v2 svn r3008. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Corey Osgood <corey.osgood@gmail.com>
This commit is contained in:
5
flash.h
5
flash.h
@ -167,7 +167,12 @@ extern struct flashchip flashchips[];
|
||||
#define SST_49LF016C 0x5C
|
||||
#define SST_49LF160C 0x4C
|
||||
|
||||
/*
|
||||
* ST25P chips are SPI, first byte of device ID is memory type, second
|
||||
* byte of device ID is related to log(bitsize) at least for some chips.
|
||||
*/
|
||||
#define ST_ID 0x20 /* ST */
|
||||
#define ST_M25P80 0x2014
|
||||
#define ST_M50FLW040A 0x08
|
||||
#define ST_M50FLW040B 0x28
|
||||
#define ST_M50FLW080A 0x80
|
||||
|
Reference in New Issue
Block a user