soc: mchp: Add configuration option to switch timer drivers

Expose in MEC1501 SoC and option to switch between OS timer drivers

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
Jose Alberto Meza 2019-07-30 16:22:55 -07:00 committed by Andrew Boie
commit 1978022ff8
2 changed files with 3 additions and 4 deletions

View file

@ -11,10 +11,6 @@ config SOC
string
default "mec1501hsz"
config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 48000000
if SERIAL
config UART_NS16550

View file

@ -16,6 +16,9 @@ config SOC_MEC1501_HSZ
endchoice
config RTOS_TIMER
bool "MEC1501 RTOS timer"
config SOC_MEC1501_PROC_CLK_DIV
int "PROC_CLK_DIV"
default 1