summaryrefslogtreecommitdiff
path: root/src/soc/amd/genoa
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-07-13 12:50:45 +0200
committerMartin L Roth <gaumless@gmail.com>2023-09-04 23:49:47 +0000
commit926d55cddd3353993604e08a7eb5d7671fd87d2f (patch)
tree5f2fc807b723770bd5b89947d32424f04e82a894 /src/soc/amd/genoa
parent6dadf7f4823a93a20d8ac7b24f93beea78f69c09 (diff)
soc/amd/common: Use CBFSTOOL_ADD_CMD_OPTIONS when adding psp image
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I639fb1e911a7449d0db0d2bfcfbb6f4f225b0cef Reviewed-on: https://review.coreboot.org/c/coreboot/+/76496 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/genoa')
-rw-r--r--src/soc/amd/genoa/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/genoa/Makefile.inc b/src/soc/amd/genoa/Makefile.inc
index 01b1965b04..7523b6824c 100644
--- a/src/soc/amd/genoa/Makefile.inc
+++ b/src/soc/amd/genoa/Makefile.inc
@@ -10,4 +10,8 @@ ramstage-y += timer.c
CPPFLAGS_common += -I$(src)/soc/amd/genoa/include
+ifeq ($(call int-gt, $(CONFIG_ROM_SIZE) 0x1000000), 1)
+CBFSTOOL_ADD_CMD_OPTIONS+= --mmap 0:0xff000000:0x1000000
+endif
+
endif