diff options
Diffstat (limited to 'payloads/external/edk2')
-rw-r--r-- | payloads/external/edk2/Kconfig | 9 | ||||
-rw-r--r-- | payloads/external/edk2/Makefile | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/payloads/external/edk2/Kconfig b/payloads/external/edk2/Kconfig index 68eb45523e..57e38b94c1 100644 --- a/payloads/external/edk2/Kconfig +++ b/payloads/external/edk2/Kconfig @@ -308,6 +308,15 @@ config EDK2_PCO_MMIO_EMMC It is needed for AMD Picasso boards with eMMC storage, but will conflict with the PCI-based eMMC driver, so should only be enabled for AMD Picasso boards. +config EDK2_USE_LAPIC_TIMER + bool "Use LAPIC timer instead of HPET" + default n + help + Select this option to use the LAPIC timer instead of HPET in edk2. The LAPIC is closer + to the CPU than the HPET (on the PCH), resulting in lower latency / higher resolution. + This setting is at least needed for platforms with Core 2 processors, which are reported + to have issues with HPET. + config EDK2_CUSTOM_BUILD_PARAMS string "edk2 additional custom build parameters" default "-D VARIABLE_SUPPORT=SMMSTORE" if EDK2_REPO_MRCHROMEBOX && SMMSTORE_V2 diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index e7f11f0693..4cb7f0f32b 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -141,6 +141,10 @@ endif ifeq ($(CONFIG_EDK2_PCO_MMIO_EMMC),y) BUILD_STR += -D USE_PCO_MMIO_EMMC=TRUE endif +# TIMER_SUPPORT = HPET +ifeq ($(CONFIG_EDK2_USE_LAPIC_TIMER),y) +BUILD_STR += -D TIMER_SUPPORT=LAPIC +endif endif |