Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion boards/intel/ish/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ config TEST_EXTRA_STACK_SIZE
endif # TEST

config SYS_CLOCK_TICKS_PER_SEC
default 2048 if HPET_TIMER # HPET is 32768 HZ
default 2048 if HPET_TIMER # HPET timer's frequency is 32768 HZ
default 2000 if APIC_TIMER_TSC # APIC timer's frequency is 19.2 MHZ or 100 MHZ
17 changes: 17 additions & 0 deletions soc/intel/intel_ish/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if SOC_FAMILY_INTEL_ISH

config SYS_CLOCK_HW_CYCLES_PER_SEC
default 32768 if HPET_TIMER
default 96000000 if APIC_TIMER_TSC && SOC_INTEL_ISH_5_4_1
default 100000000 if APIC_TIMER_TSC && !SOC_INTEL_ISH_5_4_1

config X86_VERY_EARLY_CONSOLE
default n
Expand All @@ -21,6 +23,21 @@ config SRAM_OFFSET
config X86_PC_COMPATIBLE
default n

if APIC_TIMER_TSC

config DYNAMIC_INTERRUPTS
default y

if SOC_INTEL_ISH_5_4_1

config APIC_TIMER_TSC_N
default 1280

config APIC_TIMER_TSC_M
default 256
endif
endif

rsource "*/Kconfig.defconfig.series"

endif # SOC_FAMILY_INTEL_ISH