Skip to content
Open
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
4 changes: 3 additions & 1 deletion payloads/external/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ $(obj)/UEFIPAYLOAD.fd: $(DOTCONFIG) $(IPXE_EFI)
CONFIG_EDK2_GRAPHICAL_CAPSULE_PROGRESS=$(CONFIG_EDK2_GRAPHICAL_CAPSULE_PROGRESS) \
CONFIG_EDK2_FUM_AUTO_IPXE_BOOT=$(CONFIG_EDK2_FUM_AUTO_IPXE_BOOT) \
CONFIG_EDK2_DASHARO_IBECC_OPTION=$(CONFIG_EDK2_DASHARO_IBECC_OPTION) \
CONFIG_EDK2_DASHARO_SPD_PROFILE_OPTION=$(CONFIG_EDK2_DASHARO_SPD_PROFILE_OPTION)
CONFIG_EDK2_DASHARO_SPD_PROFILE_OPTION=$(CONFIG_EDK2_DASHARO_SPD_PROFILE_OPTION) \
CONFIG_EDK2_ENABLE_SOVEREIGN_BOOT_WIZARD=$(CONFIG_EDK2_ENABLE_SOVEREIGN_BOOT_WIZARD) \
CONFIG_EDK2_SOVEREIGN_BOOT_WIZARD_DEFAULT_STATE=$(CONFIG_EDK2_SOVEREIGN_BOOT_WIZARD_DEFAULT_STATE)


$(obj)/ShimmedUniversalPayload.elf: $(DOTCONFIG)
Expand Down
16 changes: 15 additions & 1 deletion payloads/external/edk2/Kconfig.dasharo
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,25 @@ config EDK2_SECURE_BOOT_DEFAULT_ENABLE
help
Sets the UEFI Secure Boot state to enabled by default.

config EDK2_ENABLE_SOVEREIGN_BOOT_WIZARD
bool "Enable Sovereign Boot Wizard"
default n
depends on EDK2_SECURE_BOOT_SUPPORT
help
Enables Sovereign Boot Wizard support in the TianoCore payload.

config EDK2_SOVEREIGN_BOOT_WIZARD_DEFAULT_STATE
bool "Enable Sovereign Boot Wizard by default"
default y
depends on EDK2_ENABLE_SOVEREIGN_BOOT_WIZARD
help
Defines the default state of Sovereign Boot Wizard.

config EDK2_SATA_PASSWORD
bool "Enable TianoCore SATA disk password"
default n
help
Enable SATA disk password suupport in the TianoCore payload.
Enable SATA disk password support in the TianoCore payload.

config EDK2_OPAL_PASSWORD
bool "Enable TianoCore TCG OPAL password"
Expand Down
10 changes: 10 additions & 0 deletions payloads/external/edk2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,17 @@ endif
# EDK2_SECURE_BOOT_SUPPORT = FALSE
ifeq ($(CONFIG_EDK2_SECURE_BOOT_SUPPORT), y)
BUILD_STR += -D SECURE_BOOT_ENABLE=TRUE

# SOVEREIGN_BOOT_ENABLE = FALSE
ifeq ($(CONFIG_EDK2_ENABLE_SOVEREIGN_BOOT_WIZARD),y)
BUILD_STR += -D SOVEREIGN_BOOT_ENABLE=TRUE
# PcdSovereignBootDefaultState = TRUE
ifneq ($(CONFIG_EDK2_SOVEREIGN_BOOT_WIZARD_DEFAULT_STATE),y)
BUILD_STR += --pcd gDasharoSystemFeaturesTokenSpaceGuid.PcdSovereignBootDefaultState=FALSE
endif
endif # SOVEREIGN_BOOT_ENABLE

endif # EDK2_SECURE_BOOT_SUPPORT
# PCIEXP_SUPPORT_RESIZABLE_BARS = FALSE
#ifeq ($(CONFIG_PCIEXP_SUPPORT_RESIZABLE_BARS), y)
#BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdPcieResizableBarSupport=TRUE
Expand Down