SMM: Skip locking SPI registers in finalize step
This is a temporary workaround so the SPI bus can be accessed at runtime in SMM code until the SPI opcode menu is used properly. Change-Id: I93d188c55b66d8dce49fa91a1de53ee195944b30 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/1318 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
800e950d64
commit
54cba3b4ad
|
@ -31,8 +31,11 @@ void intel_pch_finalize_smm(void)
|
|||
RCBA32(0x3898) = SPI_OPMENU_LOWER;
|
||||
RCBA32(0x389c) = SPI_OPMENU_UPPER;
|
||||
|
||||
/* Need to fix SMI driver use of opcode menu */
|
||||
#if !CONFIG_ELOG_GSMI
|
||||
/* Lock SPIBAR */
|
||||
RCBA32_OR(0x3804, (1 << 15));
|
||||
#endif
|
||||
|
||||
/* TCLOCKDN: TC Lockdown */
|
||||
RCBA32_OR(0x0050, (1 << 31));
|
||||
|
|
Loading…
Reference in New Issue