mb/siemens/mc_apl{2,4,5,6}: Enable recovery MRC cache

The mainboards mc_apl{2,4,5,6} use VBOOT for verification and can be in
a recovery state for different reasons. In this case we still want the
MRC cache to be around to avoid the DRAM retraining on every boot.

This patch enables the Kconfig switch HAS_RECOVERY_MRC_CACHE which makes
the already available MRC recovery region in FMAP useable.

Test=Boot mc_apl2 in recovery mode and make sure the recovery MRC
cache is used.

Change-Id: I2ea4993f05dd87a0e637f55e84b4fc06f5e29ecc
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61827
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
Werner Zeh 2022-02-10 15:53:31 +01:00 committed by Felix Held
parent c5b912f788
commit bc13c64a2d
4 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM select MAINBOARD_HAS_LPC_TPM
select TPM_ON_FAST_SPI select TPM_ON_FAST_SPI
select TPM_MEASURED_BOOT select TPM_MEASURED_BOOT
select HAS_RECOVERY_MRC_CACHE
config CBFS_SIZE config CBFS_SIZE
default 0xb4e000 default 0xb4e000

View File

@ -10,6 +10,7 @@ config BOARD_SPECIFIC_OPTIONS
select TPM_ON_FAST_SPI select TPM_ON_FAST_SPI
select DRIVERS_I2C_PTN3460 select DRIVERS_I2C_PTN3460
select TPM_MEASURED_BOOT select TPM_MEASURED_BOOT
select HAS_RECOVERY_MRC_CACHE
config UART_FOR_CONSOLE config UART_FOR_CONSOLE
default 1 default 1

View File

@ -14,6 +14,7 @@ config BOARD_SPECIFIC_OPTIONS
select TPM_ON_FAST_SPI select TPM_ON_FAST_SPI
select DRIVERS_I2C_PTN3460 select DRIVERS_I2C_PTN3460
select TPM_MEASURED_BOOT select TPM_MEASURED_BOOT
select HAS_RECOVERY_MRC_CACHE
config CBFS_SIZE config CBFS_SIZE
default 0xb4e000 default 0xb4e000

View File

@ -13,6 +13,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM select MAINBOARD_HAS_LPC_TPM
select TPM_ON_FAST_SPI select TPM_ON_FAST_SPI
select TPM_MEASURED_BOOT select TPM_MEASURED_BOOT
select HAS_RECOVERY_MRC_CACHE
config VBOOT config VBOOT
select VBOOT_VBNV_FLASH select VBOOT_VBNV_FLASH