mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
Tidy-up clock configuration
This commit is contained in:
parent
450550a7d1
commit
3f310e462f
@ -90,9 +90,8 @@ board_init()
|
|||||||
|
|
||||||
/* Configure all clock domains to run at full speed */
|
/* Configure all clock domains to run at full speed */
|
||||||
ti_lib_prcm_clock_configure_set(PRCM_DOMAIN_SYSBUS | PRCM_DOMAIN_CPU |
|
ti_lib_prcm_clock_configure_set(PRCM_DOMAIN_SYSBUS | PRCM_DOMAIN_CPU |
|
||||||
PRCM_DOMAIN_CPU | PRCM_DOMAIN_TIMER |
|
PRCM_DOMAIN_TIMER | PRCM_DOMAIN_SERIAL |
|
||||||
PRCM_DOMAIN_SERIAL | PRCM_DOMAIN_PERIPH,
|
PRCM_DOMAIN_PERIPH, PRCM_CLOCK_DIV_1);
|
||||||
PRCM_CLOCK_DIV_1);
|
|
||||||
|
|
||||||
/* Enable GPIO peripheral */
|
/* Enable GPIO peripheral */
|
||||||
ti_lib_prcm_peripheral_run_enable(PRCM_PERIPH_GPIO);
|
ti_lib_prcm_peripheral_run_enable(PRCM_PERIPH_GPIO);
|
||||||
|
Loading…
Reference in New Issue
Block a user