mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Support Pm49FL004/2 Block Locking Registers
The PMC chips understand both LPC and FWH flash commands. When in FWH mode (MSR_DIVIL_BALL_OPT(0x51400015) = 0x00000f7d on 5536 boards) the Block Locking Registers by default lock the flash chip for write and erase - in addition to any chipset write protection. This patch adds unlock operations before Pm49FL004/2 write and erase, and it includes an svn mv pm49fl004.c pm49fl00x.c Thanks go to Nikolay for this patch. Corresponding to flashrom svn r243 and coreboot v2 svn r3332. Signed-off-by: Nikolay Petukhov <nikolay.petukhov@gmail.com> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Bari Ari <bari@onelabs.com>
This commit is contained in:

committed by
Peter Stuge

parent
fc52409252
commit
4784c47a88
2
Makefile
2
Makefile
@ -22,7 +22,7 @@ endif
|
||||
|
||||
OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.c \
|
||||
sst28sf040.o am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o \
|
||||
w49f002u.o 82802ab.o msys_doc.o pm49fl004.o sst49lf040.o \
|
||||
w49f002u.o 82802ab.o msys_doc.o pm49fl00x.o sst49lf040.o \
|
||||
sst49lfxxxc.o sst_fwhub.o layout.o cbtable.o flashchips.o \
|
||||
flashrom.o w39v080fa.o sharplhf00l04.o w29ee011.o spi.o it87spi.o \
|
||||
ichspi.o
|
||||
|
Reference in New Issue
Block a user