From 750d57ff5dd7f7412c4526c87191bd1378a49d4a Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 7 Aug 2020 22:12:09 +0200 Subject: drivers/amd/agesa: Don't save regular boot MTRR to flash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Save the regular boot MTRRs that are restored on the S3 path during the CPU init in cbmem instead of storing them to the SPI flash. This was probably done because historically this code run with late cbmem init (in ramstage). TESTED on pcengines/apu1 and lenovo/g505s: S3 resume works fine. Change-Id: Ia58e7cd1afb785ba0c379ba75ef6090b56cb9dc6 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/44294 Reviewed-by: Mike Banon Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Michał Żygowski --- src/cpu/amd/agesa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/amd/agesa') diff --git a/src/cpu/amd/agesa/Kconfig b/src/cpu/amd/agesa/Kconfig index 266fc89bc8..8c383a5f13 100644 --- a/src/cpu/amd/agesa/Kconfig +++ b/src/cpu/amd/agesa/Kconfig @@ -50,7 +50,7 @@ config S3_DATA_POS config S3_DATA_SIZE int - default 8192 + default 4096 endif # CPU_AMD_AGESA -- cgit v1.2.3