AGESA vendorcode: Add ENABLE_MRC_CACHE option
When selected, try to store and restore memory training results from/to SPI flash. This change only pulls in the required parts from vendorcode for the build. Change-Id: I12880237be494c71e1d4836abd2d4b714ba87762 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21446 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
6287a69530
commit
0e1ea279d0
|
@ -72,6 +72,14 @@ config DCACHE_RAM_SIZE
|
||||||
hex
|
hex
|
||||||
default 0x10000
|
default 0x10000
|
||||||
|
|
||||||
|
config ENABLE_MRC_CACHE
|
||||||
|
bool "Use cached memory configuration"
|
||||||
|
default n
|
||||||
|
select SPI_FLASH
|
||||||
|
help
|
||||||
|
Try to restore memory training results
|
||||||
|
from non-volatile memory.
|
||||||
|
|
||||||
config S3_DATA_POS
|
config S3_DATA_POS
|
||||||
hex
|
hex
|
||||||
default 0xFFFF0000
|
default 0xFFFF0000
|
||||||
|
|
|
@ -24,7 +24,9 @@
|
||||||
|
|
||||||
#define AGESA_ENTRY_INIT_MID TRUE
|
#define AGESA_ENTRY_INIT_MID TRUE
|
||||||
#define AGESA_ENTRY_INIT_LATE TRUE
|
#define AGESA_ENTRY_INIT_LATE TRUE
|
||||||
#define AGESA_ENTRY_INIT_S3SAVE IS_ENABLED(CONFIG_HAVE_ACPI_RESUME)
|
#define AGESA_ENTRY_INIT_S3SAVE \
|
||||||
|
(IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) || \
|
||||||
|
IS_ENABLED(CONFIG_ENABLE_MRC_CACHE))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue