summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2021-08-31 12:39:47 -0600
committerKarthik Ramasubramanian <kramasub@google.com>2021-09-01 19:36:20 +0000
commitc2310a16adaca7ac32f21c083258ceb27d12ab89 (patch)
treef8db7478ccecea0ccd01e13e0866756af9dca3c8
parentc35659d930d038da714c22d1a8157c67aa9ae69f (diff)
soc/amd/cezanne: Increase the FSP_M_SIZE configuration
On mainboards with Cezanne SOC, serial enabled FSP_M binary size is greater than the size allocated in DRAM. Increase the allocated size for FSP_M binary in DRAM to handle both debug and release FSP_M binaries. Also adjust the verstage load address accordingly. BUG=None TEST=Build and boot to OS in guybrush with both debug and release FSP_M. Perform warm, cold reboot and suspend/resume cycling for 10 iterations. Change-Id: Ic6f90041e258039e691cbdb3a978cfe1f782642a Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57293 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/amd/cezanne/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/cezanne/Kconfig b/src/soc/amd/cezanne/Kconfig
index 81597d075c..46e60173c6 100644
--- a/src/soc/amd/cezanne/Kconfig
+++ b/src/soc/amd/cezanne/Kconfig
@@ -166,7 +166,7 @@ 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.
@@ -179,7 +179,7 @@ config FSP_TEMP_RAM_SIZE
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.