drivers: uart_sam: Configure TX pins for SAME70 only

Limit visibility of configurable TX pins to SAME70 series only.
Previously visibility of configurable SAME70 TX pins extended
to the full SAM family.

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
Piotr Mienkowski 2017-05-18 23:57:02 +02:00 committed by Anas Nashif
commit ba50782db2

View file

@ -62,8 +62,9 @@ config UART_SAM_PORT_1_BAUD_RATE
help help
UART1 baud rate to be set at boot. UART1 baud rate to be set at boot.
choice choice UART_SAME70_PORT_1_PIN_TX
prompt "TX pin" prompt "TX pin"
depends on SOC_SERIES_SAME70
config UART_SAM_PORT_1_PIN_TX_PA4 config UART_SAM_PORT_1_PIN_TX_PA4
bool "PA4" bool "PA4"
@ -127,8 +128,9 @@ config UART_SAM_PORT_3_BAUD_RATE
help help
UART3 baud rate to be set at boot. UART3 baud rate to be set at boot.
choice choice UART_SAME70_PORT_3_PIN_TX
prompt "TX pin" prompt "TX pin"
depends on SOC_SERIES_SAME70
config UART_SAM_PORT_3_PIN_TX_PD30 config UART_SAM_PORT_3_PIN_TX_PD30
bool "PD30" bool "PD30"
@ -163,8 +165,9 @@ config UART_SAM_PORT_4_BAUD_RATE
help help
UART4 baud rate to be set at boot. UART4 baud rate to be set at boot.
choice choice UART_SAME70_PORT_4_PIN_TX
prompt "TX pin" prompt "TX pin"
depends on SOC_SERIES_SAME70
config UART_SAM_PORT_4_PIN_TX_PD3 config UART_SAM_PORT_4_PIN_TX_PD3
bool "PD3" bool "PD3"