Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable TPM2 PCR banks which aren't used by coreboot #546

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/config.emulation_qemu_x86_q35_uefi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_CBMEM_LOGGING=y
CONFIG_EDK2_SERIAL_SUPPORT=y
CONFIG_EDK2_CUSTOM_BUILD_PARAMS=""
Expand Down
2 changes: 1 addition & 1 deletion configs/config.emulation_qemu_x86_q35_uefi_all_menus
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_CBMEM_LOGGING=y
CONFIG_EDK2_SERIAL_SUPPORT=y
CONFIG_EDK2_CUSTOM_BUILD_PARAMS=""
Expand Down
2 changes: 1 addition & 1 deletion configs/config.intel_minnowmax
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CONFIG_BOOTMEDIA_SMM_BWP=y
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.msi_ms7d25_ddr4
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.msi_ms7d25_ddr5
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.msi_ms7e06_ddr4
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.msi_ms7e06_ddr5
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.novacustom_ns5x_adl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_BOOTMEDIA_SMM_BWP=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.novacustom_ns5x_tgl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_BOOTMEDIA_SMM_BWP=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.novacustom_nv4x_adl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CONFIG_BOOTMEDIA_SMM_BWP=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.novacustom_nv4x_tgl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_BOOTMEDIA_SMM_BWP=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.pcengines_apu6
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.pcengines_uefi_apu2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.pcengines_uefi_apu3
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.pcengines_uefi_apu4
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.pcengines_uefi_apu6
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2.git"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vault_jsl_v1210
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vault_jsl_v1211
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vault_jsl_v1410
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vault_jsl_v1610
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vp2410
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
CONFIG_POST_DEVICE_LPC=y
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
CONFIG_EDK2_CBMEM_LOGGING=y
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vp2420
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
CONFIG_POST_DEVICE_LPC=y
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vp46xx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vp46xx_txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
# CONFIG_CONSOLE_USE_ANSI_ESCAPES is not set
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
2 changes: 1 addition & 1 deletion configs/config.protectli_vp66xx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
CONFIG_POST_DEVICE_LPC=y
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_REPOSITORY="https://github.com/Dasharo/edk2"
CONFIG_EDK2_TAG_OR_REV="13373e88d60792aecf8edb9cdb3815145f658f14"
CONFIG_EDK2_TAG_OR_REV="9c5dd7ba791dbf1d77de9f270b1590a16017c29d"
CONFIG_EDK2_USE_EDK2_PLATFORMS=y
CONFIG_EDK2_PLATFORMS_REPOSITORY="https://github.com/Dasharo/edk2-platforms"
CONFIG_EDK2_PLATFORMS_TAG_OR_REV="3323ed481d35096fb6a7eae7b49f35eff00f86cf"
Expand Down
6 changes: 5 additions & 1 deletion payloads/external/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,11 @@ $(obj)/UEFIPAYLOAD.fd: $(DOTCONFIG) $(IPXE_EFI)
CONFIG_EDK2_HYPERTHREADING_DEFAULT_STATE=$(CONFIG_FSP_HYPERTHREADING) \
CONFIG_EDK2_CPU_THROTTLING_THRESHOLD_OPTION=$(CONFIG_EDK2_CPU_THROTTLING_THRESHOLD_OPTION) \
CONFIG_EDK2_CPU_THROTTLING_THRESHOLD_DEFAULT=$(CONFIG_EDK2_CPU_THROTTLING_THRESHOLD_DEFAULT) \
CONFIG_CPU_MAX_TEMPERATURE=$(CONFIG_CPU_MAX_TEMPERATURE)
CONFIG_CPU_MAX_TEMPERATURE=$(CONFIG_CPU_MAX_TEMPERATURE) \
CONFIG_TPM_HASH_SHA1=$(CONFIG_TPM_HASH_SHA1) \
CONFIG_TPM_HASH_SHA256=$(CONFIG_TPM_HASH_SHA256) \
CONFIG_TPM_HASH_SHA384=$(CONFIG_TPM_HASH_SHA384) \
CONFIG_TPM_HASH_SHA512=$(CONFIG_TPM_HASH_SHA512)


$(obj)/ShimmedUniversalPayload.elf: $(DOTCONFIG)
Expand Down
16 changes: 16 additions & 0 deletions payloads/external/edk2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,22 @@ ifneq ($(CONFIG_CPU_MAX_TEMPERATURE),)
BUILD_STR += --pcd gDasharoSystemFeaturesTokenSpaceGuid.PcdCpuMaxTemperature=$(CONFIG_CPU_MAX_TEMPERATURE)
endif
endif
# gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask = 0x0000001f
# The tested options are mutually exclusive (and there is no option for SM3
# 256). See https://ticket.coreboot.org/issues/421 for the discussion about
# supporting multiple hashes simultaneously.
ifeq ($(CONFIG_TPM_HASH_SHA1),y)
BUILD_STR += --pcd gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask=0x00000001
endif
ifeq ($(CONFIG_TPM_HASH_SHA256),y)
BUILD_STR += --pcd gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask=0x00000002
endif
ifeq ($(CONFIG_TPM_HASH_SHA384),y)
BUILD_STR += --pcd gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask=0x00000004
endif
ifeq ($(CONFIG_TPM_HASH_SHA512),y)
BUILD_STR += --pcd gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask=0x00000008
endif

endif

Expand Down