serial: dts: remove !HAS_DTS related Kconfig

As we now only support DTS for ARM based SoCs we can remove any
associated !HAS_DTS bits in Kconfig.  The Nordic NRF5 serial driver and
the ARM CMSDK APB serial drivers had Kconfig bits related to !HAS_DTS
builds.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-05-15 12:35:43 -05:00 committed by Anas Nashif
commit 748f724d82
2 changed files with 0 additions and 115 deletions

View file

@ -32,25 +32,6 @@ config UART_CMSDK_APB_PORT0_NAME
This is the device name for UART, and is included in the device This is the device name for UART, and is included in the device
struct. struct.
if !HAS_DTS
config UART_CMSDK_APB_PORT0_IRQ_PRI
int "UART Interrupt Priority (Interrupt support)"
default 2
depends on UART_CMSDK_APB_PORT0
depends on UART_INTERRUPT_DRIVEN
help
The interrupt priority for UART port.
config UART_CMSDK_APB_PORT0_BAUD_RATE
int "Baud Rate"
range 9600 115200
default 115200
depends on UART_CMSDK_APB_PORT0
help
The baud rate for UART port to be set to at boot.
endif # !HAS_DTS
# ---------- Port 1 ---------- # ---------- Port 1 ----------
config UART_CMSDK_APB_PORT1 config UART_CMSDK_APB_PORT1
@ -67,25 +48,6 @@ config UART_CMSDK_APB_PORT1_NAME
This is the device name for UART, and is included in the device This is the device name for UART, and is included in the device
struct. struct.
if !HAS_DTS
config UART_CMSDK_APB_PORT1_IRQ_PRI
int "UART Interrupt Priority (Interrupt support)"
default 2
depends on UART_CMSDK_APB_PORT1
depends on UART_INTERRUPT_DRIVEN
help
The interrupt priority for UART port.
config UART_CMSDK_APB_PORT1_BAUD_RATE
int "Baud Rate"
range 9600 115200
default 115200
depends on UART_CMSDK_APB_PORT1
help
The baud rate for UART port to be set to at boot.
endif # !HAS_DTS
# ---------- Port 2 ---------- # ---------- Port 2 ----------
config UART_CMSDK_APB_PORT2 config UART_CMSDK_APB_PORT2
@ -102,25 +64,6 @@ config UART_CMSDK_APB_PORT2_NAME
This is the device name for UART, and is included in the device This is the device name for UART, and is included in the device
struct. struct.
if !HAS_DTS
config UART_CMSDK_APB_PORT2_IRQ_PRI
int "UART Interrupt Priority (Interrupt support)"
default 2
depends on UART_CMSDK_APB_PORT2
depends on UART_INTERRUPT_DRIVEN
help
The interrupt priority for UART port.
config UART_CMSDK_APB_PORT2_BAUD_RATE
int "Baud Rate"
range 9600 115200
default 115200
depends on UART_CMSDK_APB_PORT2
help
The baud rate for UART port to be set to at boot.
endif # !HAS_DTS
# ---------- Port 3 ---------- # ---------- Port 3 ----------
config UART_CMSDK_APB_PORT3 config UART_CMSDK_APB_PORT3
@ -137,25 +80,6 @@ config UART_CMSDK_APB_PORT3_NAME
This is the device name for UART, and is included in the device This is the device name for UART, and is included in the device
struct. struct.
if !HAS_DTS
config UART_CMSDK_APB_PORT3_IRQ_PRI
int "UART Interrupt Priority (Interrupt support)"
default 2
depends on UART_CMSDK_APB_PORT3
depends on UART_INTERRUPT_DRIVEN
help
The interrupt priority for UART port.
config UART_CMSDK_APB_PORT3_BAUD_RATE
int "Baud Rate"
range 9600 115200
default 115200
depends on UART_CMSDK_APB_PORT3
help
The baud rate for UART port to be set to at boot.
endif # !HAS_DTS
# ---------- Port 4 ---------- # ---------- Port 4 ----------
config UART_CMSDK_APB_PORT4 config UART_CMSDK_APB_PORT4
@ -172,23 +96,4 @@ config UART_CMSDK_APB_PORT4_NAME
This is the device name for UART, and is included in the device This is the device name for UART, and is included in the device
struct. struct.
if !HAS_DTS
config UART_CMSDK_APB_PORT4_IRQ_PRI
int "UART Interrupt Priority (Interrupt support)"
default 2
depends on UART_CMSDK_APB_PORT4
depends on UART_INTERRUPT_DRIVEN
help
The interrupt priority for UART port.
config UART_CMSDK_APB_PORT4_BAUD_RATE
int "Baud Rate"
range 9600 115200
default 115200
depends on UART_CMSDK_APB_PORT4
help
The baud rate for UART port to be set to at boot.
endif # !HAS_DTS
endif # UART_CMSDK_APB endif # UART_CMSDK_APB

View file

@ -24,26 +24,6 @@ config UART_NRF5_NAME
This is the device name for UART, and is included in the device This is the device name for UART, and is included in the device
struct. struct.
if !HAS_DTS
config UART_NRF5_IRQ_PRI
int "UART Interrupt Priority (Interrupt support)"
range 0 1 if SOC_SERIES_NRF51X
range 0 5 if SOC_SERIES_NRF52X
default 1
depends on UART_NRF5
depends on UART_INTERRUPT_DRIVEN
help
The interrupt priority for UART port.
config UART_NRF5_BAUD_RATE
int "Baud Rate"
range 1200 1000000
default 115200
depends on UART_NRF5
help
The baud rate for UART port to be set to at boot.
endif
config UART_NRF5_CLK_FREQ config UART_NRF5_CLK_FREQ
int int
default 16000000 default 16000000