summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-02-05 16:48:42 -0700
committerMartin Roth <martinroth@google.com>2021-02-10 21:46:54 +0000
commit72616b3813382d8eeaaf97d86ebc90e784c5bad5 (patch)
tree2d04efd78b133e1a8996b4f074692eb7c0b2c807 /src
parenta634257f13ad1e6cb915a2921b9fa6d43eece7d0 (diff)
soc/amd/cezanne: Add verstage support
Setup the config required to support verstage. The offsets are the same as picasso. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I82874d649db3c9c370e32841e6a9898efb70082e Reviewed-on: https://review.coreboot.org/c/coreboot/+/50342 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/cezanne/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/Kconfig b/src/soc/amd/cezanne/Kconfig
index 530b4e7992..10c085e018 100644
--- a/src/soc/amd/cezanne/Kconfig
+++ b/src/soc/amd/cezanne/Kconfig
@@ -109,10 +109,31 @@ config FSP_TEMP_RAM_SIZE
help
The amount of coreboot-allocated heap and stack usage by the FSP.
+config VERSTAGE_ADDR
+ hex
+ depends on VBOOT_SEPARATE_VERSTAGE
+ default 0x2140000
+ help
+ Sets the address in DRAM where verstage should be loaded if running
+ as a separate stage on x86.
+
+config VERSTAGE_SIZE
+ hex
+ depends on VBOOT_SEPARATE_VERSTAGE
+ default 0x80000
+ help
+ Sets the size of DRAM allocation for verstage in linker script if
+ running as a separate stage on x86.
+
config RAMBASE
hex
default 0x10000000
+config RO_REGION_ONLY
+ string
+ depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
+ default "apu/amdfw"
+
config CPU_ADDR_BITS
int
default 48