ITE soc/riscv/ite/it8xxx2/Kconfig: correct hw clock freq

Correct SYS_CLOCK_HW_CYCLES_PER_SEC and
SYS_CLOCK_TICKS_PER_SEC to match our real setting value
for precise timing.

Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
This commit is contained in:
Ruibin Chang 2021-05-06 15:51:52 +08:00 committed by Christopher Friedt
parent 0cd3daacba
commit 97d2d7317c
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ config ITE_IT8XXX2_INTC
select HAS_FLASH_LOAD_OFFSET select HAS_FLASH_LOAD_OFFSET
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
default 660000 default 32768
config SYS_CLOCK_TICKS_PER_SEC
default 32768
if ITE_IT8XXX2_INTC if ITE_IT8XXX2_INTC
config NUM_IRQS config NUM_IRQS