From 779eeb2fb575b6018214bd938687c4f0f6b53c76 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 16 Sep 2021 18:11:04 +0200 Subject: [PATCH] soc/amd/picasso/Kconfig: increase FSP_M_SIZE When using a debug build of the FSP, the FSP-M binary is larger than the memory region we have allocated for it, so increase the size to make the binary of the debug build fit in there. Also adjust the VERSTAGE_ADDR so that it starts right after the the FSP-M memory region. TEST=coreboot builds now successfully when using a debug version of the FSP Signed-off-by: Felix Held Change-Id: Ib64806bcf948d5ed4bcf8e1f50004091f125dc7e Reviewed-on: https://review.coreboot.org/c/coreboot/+/57718 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/picasso/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig index 473f316f41..71c9c27238 100644 --- a/src/soc/amd/picasso/Kconfig +++ b/src/soc/amd/picasso/Kconfig @@ -177,14 +177,14 @@ config FSP_M_ADDR config FSP_M_SIZE hex - default 0x80000 + default 0xC0000 help Sets the size of DRAM allocation for FSP-M in linker script. config VERSTAGE_ADDR hex depends on VBOOT_SEPARATE_VERSTAGE - default 0x2140000 + default 0x2180000 help Sets the address in DRAM where verstage should be loaded if running as a separate stage on x86.