Skip to content

Commit 2933dea

Browse files
akanisettikartben
authored andcommitted
boards: intel: Updated TSC frequency values
Updated TSC frequency values of intel boards. Signed-off-by: Anisetti Avinash Krishna <[email protected]>
1 parent 5c8cf1c commit 2933dea

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

boards/intel/adl/Kconfig.defconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ config BUILD_OUTPUT_STRIPPED
77
config MP_MAX_NUM_CPUS
88
default 2
99

10-
# TSC on this board is 1.9 GHz, HPET and APIC are 19.2 MHz
10+
# TSC on this board is 1.5 GHz, HPET and APIC are 19.2 MHz
1111
config SYS_CLOCK_HW_CYCLES_PER_SEC
12-
default 1900000000 if APIC_TSC_DEADLINE_TIMER
13-
default 1900000000 if APIC_TIMER_TSC
12+
default 1500000000 if APIC_TSC_DEADLINE_TIMER
13+
default 1500000000 if APIC_TIMER_TSC
1414
default 19200000
1515

1616
if APIC_TIMER

boards/intel/rpl/Kconfig.defconfig

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,26 @@ config BUILD_OUTPUT_STRIPPED
88
config MP_MAX_NUM_CPUS
99
default 2
1010

11-
# TSC on this board is 1.9 GHz, HPET and APIC are 19.2 MHz
11+
if BOARD_INTEL_RPL_S_CRB
12+
13+
# TSC on this board is 2.4 GHz for RPL-S, HPET and APIC are 19.2 MHz
1214
config SYS_CLOCK_HW_CYCLES_PER_SEC
13-
default 1900000000 if APIC_TSC_DEADLINE_TIMER
14-
default 1900000000 if APIC_TIMER_TSC
15+
default 2400000000 if APIC_TSC_DEADLINE_TIMER
16+
default 2400000000 if APIC_TIMER_TSC
1517
default 19200000
1618

19+
endif #BOARD_INTEL_RPL_S_CRB
20+
21+
if BOARD_INTEL_RPL_P_CRB
22+
23+
# TSC on this board is 1.8 GHz for RPL-P, HPET and APIC are 19.2 MHz
24+
config SYS_CLOCK_HW_CYCLES_PER_SEC
25+
default 1800000000 if APIC_TSC_DEADLINE_TIMER
26+
default 1800000000 if APIC_TIMER_TSC
27+
default 19200000
28+
29+
endif #BOARD_INTEL_RPL_P_CRB
30+
1731
if APIC_TIMER
1832
config APIC_TIMER_IRQ
1933
default 24

0 commit comments

Comments
 (0)