diff options
author | Maurice Ma <maurice.ma@intel.com> | 2016-10-27 09:12:26 -0700 |
---|---|---|
committer | Maurice Ma <maurice.ma@intel.com> | 2016-10-27 09:12:26 -0700 |
commit | 1399565a93a7457db262ae2cb81431062fcc30c4 (patch) | |
tree | 870527d89e4cf5555d5fe5b384e2593d8fbd1553 /CorebootPayloadPkg/CorebootPayloadPkg.fdf | |
parent | 7bd394623aa89d0f2fc871fd69d8a8762738de14 (diff) | |
download | edk2-1399565a93a7457db262ae2cb81431062fcc30c4.tar.gz edk2-1399565a93a7457db262ae2cb81431062fcc30c4.tar.bz2 edk2-1399565a93a7457db262ae2cb81431062fcc30c4.zip |
CorebootPayloadPkg: Add an option to use HPET timer driver
The current CorebootPayloadPkg will use the legacy 8254 timer
driver as the default. However, on some platforms legacy timer
might not exist anymore. This patch adds HPET timer driver as
a build option.
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by : Prince Agyeman <prince.agyeman@intel.com>
Diffstat (limited to 'CorebootPayloadPkg/CorebootPayloadPkg.fdf')
-rw-r--r-- | CorebootPayloadPkg/CorebootPayloadPkg.fdf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkg.fdf b/CorebootPayloadPkg/CorebootPayloadPkg.fdf index 3807923f60..34c8f7feac 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkg.fdf +++ b/CorebootPayloadPkg/CorebootPayloadPkg.fdf @@ -91,7 +91,11 @@ INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf INF UefiCpuPkg/CpuDxe/CpuDxe.inf
INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
INF MdeModulePkg/Application/UiApp/UiApp.inf
+!if $(USE_HPET_TIMER) == TRUE
+INF PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
+!else
INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
+!endif
INF MdeModulePkg/Universal/Metronome/Metronome.inf
INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|