Skip to content

Commit

Permalink
hpet: make HPET driver build always
Browse files Browse the repository at this point in the history
HPET function is still needed when entering low power mode even if system
clock is switched to APIC timer.

Signed-off-by: Dong Wang <[email protected]>
  • Loading branch information
kwd-doodling committed Jun 11, 2024
1 parent 59ca937 commit 6cf57be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(CONFIG_INTEL_HAL)
zephyr_library_sources(${BSP_SEDI_SRC}/drivers/dma/sedi_dma_ann_1p0.c)
endif()
zephyr_library_sources_ifdef(CONFIG_IPM_SEDI ${BSP_SEDI_SRC}/drivers/ipc/sedi_ipc.c)
zephyr_library_sources_ifdef(CONFIG_HPET_TIMER ${BSP_SEDI_SRC}/drivers/hpet/sedi_hpet.c)
zephyr_library_sources(${BSP_SEDI_SRC}/drivers/hpet/sedi_hpet.c)

if(DEFINED CONFIG_SOC_FAMILY_INTEL_ISH)
zephyr_library_sources_ifdef(CONFIG_PM ${BSP_SEDI_SRC}/soc/intel_ish/pm/ish_pm.c)
Expand Down

0 comments on commit 6cf57be

Please sign in to comment.