Skip to content

Commit 6a48fe7

Browse files
scottwcpgkartben
authored andcommitted
boards: microchip: mec15xxevb_assy6885: Remove kernel timer kconfig logic
Kconfig logic for kernel timer configuration and selection has been moved to the soc layer. Signed-off-by: Scott Worley <scott.worley@microchip.com>
1 parent 990ac2b commit 6a48fe7

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

boards/microchip/mec15xxevb_assy6853/Kconfig.defconfig

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,4 @@ config ESPI_XEC
77
default y
88
depends on ESPI
99

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

boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#
66

77
CONFIG_SOC_MEC1501_VTR3_1_8V=y
8-
CONFIG_RTOS_TIMER=y
98

109
CONFIG_CLOCK_CONTROL=y
1110
CONFIG_CONSOLE=y

0 commit comments

Comments
 (0)