summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRitul Guru <ritul.bits@gmail.com>2022-08-02 15:27:56 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-08-26 16:05:05 +0000
commiteb5c3adcde92938cbfdd88189eee41f11daa4bd7 (patch)
tree9ccee515f4ded35834e8cc76a6dbb4f856775343 /src
parent9a321f31c8601ce7396f60e334844df30bab02ad (diff)
soc/amd/picasso: Reserve space for BIOS SIG in BIOS image
Change-Id: I68667d084001c753e74ba480fa7b6e09b1b88cb8 Signed-off-by: Ritul Guru <ritul.bits@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66369 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/picasso/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/Makefile.inc b/src/soc/amd/picasso/Makefile.inc
index e4b78e5e83..674b70f93d 100644
--- a/src/soc/amd/picasso/Makefile.inc
+++ b/src/soc/amd/picasso/Makefile.inc
@@ -127,6 +127,12 @@ endif
# BIOS Directory Table items - proper ordering is managed by amdfwtool
#
+# type = 0x7
+# RSA 2048 signature
+#ifeq ($(CONFIG_PSP_PLATFORM_SECURE_BOOT),y)
+PSP_BIOS_SIG_SIZE=0x100
+#endif
+
# type = 0x60
PSP_APCB_FILES=$(APCB_SOURCES)
@@ -184,6 +190,7 @@ OPT_PSP_BIOSBIN_FILE=$(call add_opt_prefix, $(PSP_BIOSBIN_FILE), --bios-bin)
OPT_PSP_BIOSBIN_DEST=$(call add_opt_prefix, $(PSP_BIOSBIN_DEST), --bios-bin-dest)
OPT_PSP_BIOSBIN_SIZE=$(call add_opt_prefix, $(PSP_BIOSBIN_SIZE), --bios-uncomp-size)
+OPT_PSP_BIOS_SIG_SIZE=$(call add_opt_prefix, $(PSP_BIOS_SIG_SIZE), --bios-sig-size)
OPT_PSP_SHAREDMEM_BASE=$(call add_opt_prefix, $(PSP_SHAREDMEM_BASE), --sharedmem)
OPT_PSP_SHAREDMEM_SIZE=$(call add_opt_prefix, $(PSP_SHAREDMEM_SIZE), --sharedmem-size)
OPT_APOB_NV_SIZE=$(call add_opt_prefix, $(APOB_NV_SIZE), --apob-nv-size)
@@ -211,6 +218,7 @@ AMDFW_COMMON_ARGS=$(OPT_PSP_APCB_FILES) \
$(OPT_PSP_BIOSBIN_FILE) \
$(OPT_PSP_BIOSBIN_DEST) \
$(OPT_PSP_BIOSBIN_SIZE) \
+ $(OPT_PSP_BIOS_SIG_SIZE) \
$(OPT_PSP_SOFTFUSE) \
--use-pspsecureos \
$(OPT_PSP_LOAD_MP2_FW) \