Sean Rhodes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60798 )
Change subject: payloads/tianocore: Add option to enable SMM Support ......................................................................
payloads/tianocore: Add option to enable SMM Support
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: Id262235610ef350994da7373784e2f6bbab65da6 --- M payloads/external/Makefile.inc M payloads/external/tianocore/Kconfig M payloads/external/tianocore/Makefile 3 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/60798/1
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc index a6c7305..9430e33 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.inc @@ -154,6 +154,7 @@ CONFIG_TIANOCORE_COREBOOTPAYLOAD=$(CONFIG_TIANOCORE_COREBOOTPAYLOAD) \ CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \ CONFIG_TIANOCORE_HAVE_EFI_SHELL=$(CONFIG_TIANOCORE_HAVE_EFI_SHELL) \ + CONFIG_TIANOCORE_SMM_SUPPORT=$(CONFIG_TIANOCORE_SMM_SUPPORT) \ CONFIG_TIANOCORE_SECUREBOOT=$(CONFIG_TIANOCORE_SECUREBOOT) \ CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \ GCC_CC_x86_32=$(GCC_CC_x86_32) \ diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig index 67f1437..225cc32 100644 --- a/payloads/external/tianocore/Kconfig +++ b/payloads/external/tianocore/Kconfig @@ -136,6 +136,13 @@ help Include the EFI shell Binary
+config TIANOCORE_SMM_SUPPORT + bool "SMM Support in EDK2" + default n + help + Invoke SMM in EDK2, which triggers devices to transition from + PCI mode to ACPI mode + endif
if TIANOCORE_COREBOOTPAYLOAD diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index e45455d..0dc8e92 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -64,6 +64,10 @@ BGRT=-D FOLLOW_BGRT_SPEC=TRUE endif
+ifeq ($(CONFIG_TIANOCORE_SMM_SUPPORT),y) +SMM=-D SMM_SUPPORT=TRUE +endif + PS2=-D PS2_KEYBOARD_ENABLE=TRUE -D SIO_BUS_ENABLE=TRUE
TIMEOUT=-D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)