Skip to content

Commit 990ac2b

Browse files
scottwcpgkartben
authored andcommitted
boards: microchip: mec1501modular_assy6885: Remove kernel timer logic
Microchip MEC kernel timer configuration logic has been moved to the soc layer. Signed-off-by: Scott Worley <scott.worley@microchip.com>
1 parent b32eaa7 commit 990ac2b

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

boards/microchip/mec1501modular_assy6885/Kconfig.defconfig

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,11 @@ config ESPI_PERIPHERAL_8042_KBC
88
default y
99
depends on ESPI_XEC
1010

11-
if RTOS_TIMER
12-
13-
# XEC RTOS timer HW frequency is fixed at 32768
14-
# The driver requires tickless mode and ticks per
15-
# second to be 32768 for accurate operation.
16-
17-
config SYS_CLOCK_HW_CYCLES_PER_SEC
18-
default 32768
19-
20-
config SYS_CLOCK_TICKS_PER_SEC
21-
default 32768
22-
23-
endif # RTOS_TIMER
24-
25-
if !RTOS_TIMER
26-
27-
# If RTOS timer is not enabled we use ARM Cortex-M
28-
# SYSTICK. SYSTICK frequency is 48MHz divided by
29-
# SOC_MEC1501_PROC_CLK_DIV.
30-
31-
config SYS_CLOCK_HW_CYCLES_PER_SEC
32-
default 48000000
33-
34-
config SYS_CLOCK_TICKS_PER_SEC
35-
default 1000
36-
3711
if ESPI
3812

3913
config ESPI_PERIPHERAL_UART_SOC_MAPPING
4014
default 1
4115

4216
endif # ESPI
4317

44-
endif # RTOS_TIMER
45-
4618
endif # BOARD_MEC1501MODULAR_ASSY6885

boards/microchip/mec1501modular_assy6885/mec1501modular_assy6885_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Make sure external power management setup is as indicated in documentation
88
CONFIG_SOC_MEC1501_VTR3_1_8V=y
99
CONFIG_SOC_MEC1501_VCI_PINS_AS_GPIOS=n
10-
CONFIG_RTOS_TIMER=y
1110

1211
CONFIG_CLOCK_CONTROL=y
1312
CONFIG_CONSOLE=y

0 commit comments

Comments
 (0)