Fix a typo in configuration variable name: SAM21 should be SAMD21
This commit is contained in:
parent
e187d6eb8b
commit
38ac5e2be3
@ -25,7 +25,7 @@ config SAML21_XPLAINED_OSC16M_16MHZ
|
||||
|
||||
endchoice # OSC16M Frequency
|
||||
|
||||
config SAM21_XPLAINED_XOSC32K
|
||||
config SAMD21_XPLAINED_XOSC32K
|
||||
bool "Enable XOSC32K"
|
||||
default n
|
||||
|
||||
@ -43,7 +43,7 @@ config SAML21_XPLAINED_DFLL_OSC16MSRC
|
||||
|
||||
config SAML21_XPLAINED_DFLL_XOSC32KSRC
|
||||
bool "XOSCK32K"
|
||||
select SAM21_XPLAINED_XOSC32K
|
||||
select SAMD21_XPLAINED_XOSC32K
|
||||
|
||||
endchoice # DFLL Clock Source
|
||||
|
||||
|
@ -114,7 +114,7 @@
|
||||
*/
|
||||
|
||||
#undef BOARD_XOSC32K_ENABLE
|
||||
#ifdef CONFIG_SAM21_XPLAINED_XOSC32K
|
||||
#ifdef CONFIG_SAMD21_XPLAINED_XOSC32K
|
||||
# define BOARD_XOSC32K_ENABLE 1
|
||||
# define BOARD_XOSC32K_FREQUENCY 32768 /* 32.768KHz XTAL */
|
||||
# define BOARD_XOSC32K_STARTUPTIME OSC32KCTRL_XOSC32K_STARTUP_100MS
|
||||
|
@ -265,7 +265,7 @@ CONFIG_SAML21_XPLAINED_OSC16M_4MHZ=y
|
||||
# CONFIG_SAML21_XPLAINED_OSC16M_8MHZ is not set
|
||||
# CONFIG_SAML21_XPLAINED_OSC16M_12MHZ is not set
|
||||
# CONFIG_SAML21_XPLAINED_OSC16M_16MHZ is not set
|
||||
CONFIG_SAM21_XPLAINED_XOSC32K=y
|
||||
CONFIG_SAMD21_XPLAINED_XOSC32K=y
|
||||
CONFIG_SAML21_XPLAINED_DFLL=y
|
||||
# CONFIG_SAML21_XPLAINED_DFLL_OSC16MSRC is not set
|
||||
CONFIG_SAML21_XPLAINED_DFLL_XOSC32KSRC=y
|
||||
|
Loading…
Reference in New Issue
Block a user