From eb5c3adcde92938cbfdd88189eee41f11daa4bd7 Mon Sep 17 00:00:00 2001 From: Ritul Guru Date: Tue, 2 Aug 2022 15:27:56 +0530 Subject: soc/amd/picasso: Reserve space for BIOS SIG in BIOS image Change-Id: I68667d084001c753e74ba480fa7b6e09b1b88cb8 Signed-off-by: Ritul Guru Reviewed-on: https://review.coreboot.org/c/coreboot/+/66369 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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) \ -- cgit v1.2.3