Skip to content
Permalink
Browse files

soc: sam0: Enable generic peripheral selection

Make sure that when e.g. CONFIG_SERIAL is set, CONFIG_UART_SAM0 is
selected automatically when the sam0 SoC family is used.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
  • Loading branch information...
benpicco authored and galak committed Mar 22, 2019
1 parent b444de8 commit 4d9486fc220f231d2172b359ae0b9104011c3527
@@ -7,6 +7,7 @@ if SOC_FAMILY_SAM

menuconfig SOC_FLASH_SAM
bool "Atmel SAM flash driver"
default y
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
help
@@ -7,6 +7,7 @@ if SOC_FAMILY_SAM0

menuconfig SOC_FLASH_SAM0
bool "Atmel SAM0 flash driver"
default y
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
help
@@ -5,6 +5,7 @@

menuconfig GPIO_SAM
bool "Atmel SAM GPIO (PORT) driver"
default y
depends on SOC_FAMILY_SAM
select HAS_DTS_GPIO
help
@@ -5,6 +5,7 @@

menuconfig GPIO_SAM0
bool "Atmel SAM0 GPIO (PORT) driver"
default y
depends on SOC_FAMILY_SAM0
select HAS_DTS_GPIO
help
@@ -5,6 +5,7 @@

menuconfig PINMUX_SAM0
bool "Atmel SAM0 pin multiplexer driver"
default y
depends on SOC_FAMILY_SAM0
help
Enable support for the Atmel SAM0 PORT pin multiplexer.
@@ -5,6 +5,7 @@

menuconfig UART_SAM0
bool "Atmel SAM0 series SERCOM USART driver"
default y
depends on SOC_FAMILY_SAM0
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
@@ -5,6 +5,7 @@

menuconfig SPI_SAM
bool "Atmel SAM series SPI driver"
default y
depends on SOC_FAMILY_SAM
help
Enable support for the SAM SPI driver.
@@ -5,6 +5,7 @@

menuconfig SPI_SAM0
bool "Atmel SAM0 series SERCOM SPI driver"
default y
depends on SOC_FAMILY_SAM0
help
Enable support for the SAM0 SERCOM SPI driver.
@@ -43,6 +43,7 @@ config USB_DC_STM32

config USB_DC_SAM0
bool "SAM0 series USB Device Controller driver"
default y
depends on SOC_FAMILY_SAM0
select USB_DEVICE_DRIVER
help

0 comments on commit 4d9486f

Please sign in to comment.
You can’t perform that action at this time.