Sean Rhodes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61797 )
Change subject: payloads/tianocore: Add option for to prioritize internal devices ......................................................................
payloads/tianocore: Add option for to prioritize internal devices
Add TIANOCORE_PRIORITIZE_INTERNAL which, when enabled, will build edk2 with boot from internal devices before external devices.
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: Ib1f73c8f3f2f2376cdc197b58d259446dc5f0138 --- M payloads/external/Makefile.inc M payloads/external/tianocore/Kconfig M payloads/external/tianocore/Makefile 3 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/61797/1
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc index ca999e1..190790b 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.inc @@ -154,6 +154,7 @@ CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \ CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \ CONFIG_TIANOCORE_HAVE_EFI_SHELL=$(CONFIG_TIANOCORE_HAVE_EFI_SHELL) \ + CONFIG_TIANOCORE_PRIORITIZE_INTERNAL=$(CONFIG_TIANOCORE_PRIORITIZE_INTERNAL) \ CONFIG_TIANOCORE_PS2_SUPPORT=$(CONFIG_TIANOCORE_PS2_SUPPORT) \ CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \ CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \ diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig index bf662e6..e271a11 100644 --- a/payloads/external/tianocore/Kconfig +++ b/payloads/external/tianocore/Kconfig @@ -147,6 +147,12 @@ help Include the EFI shell Binary
+config TIANOCORE_PRIORITIZE_INTERNAL + bool "Prioritize internal boot devices" + default y + help + Prioritize internal boot devices over external devices + config TIANOCORE_PS2_SUPPORT bool "Support PS/2 Keyboards" default y diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index 605c9e2..0162fd1 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -40,6 +40,10 @@ ifeq ($(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC),y) BUILD_STR += -D FOLLOW_BGRT_SPEC=TRUE endif +# PRIORITIZE_INTERNAL = FALSE +ifeq ($(CONFIG_TIANOCORE_PRIORITIZE_INTERNAL),y) +BUILD_STR += -D PRIORITIZE_INTERNAL = TRUE +endif # PS2_KEYBOARD_ENABLE = FALSE ifeq ($(CONFIG_TIANOCORE_PS2_SUPPORT),y) BUILD_STR += -D PS2_KEYBOARD_ENABLE=TRUE