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:
parent
159ad65c93
commit
1978022ff8
2 changed files with 3 additions and 4 deletions
|
@ -11,10 +11,6 @@ config SOC
|
||||||
string
|
string
|
||||||
default "mec1501hsz"
|
default "mec1501hsz"
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
||||||
int
|
|
||||||
default 48000000
|
|
||||||
|
|
||||||
if SERIAL
|
if SERIAL
|
||||||
|
|
||||||
config UART_NS16550
|
config UART_NS16550
|
||||||
|
|
|
@ -16,6 +16,9 @@ config SOC_MEC1501_HSZ
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config RTOS_TIMER
|
||||||
|
bool "MEC1501 RTOS timer"
|
||||||
|
|
||||||
config SOC_MEC1501_PROC_CLK_DIV
|
config SOC_MEC1501_PROC_CLK_DIV
|
||||||
int "PROC_CLK_DIV"
|
int "PROC_CLK_DIV"
|
||||||
default 1
|
default 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue