Skip to content

Commit

Permalink
serial: dts: remove !HAS_DTS related Kconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
galak authored and Anas Nashif committed May 19, 2017
1 parent 69e9d45 commit 748f724
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 115 deletions.
95 changes: 0 additions & 95 deletions drivers/serial/Kconfig.cmsdk_apb
Expand Up @@ -32,25 +32,6 @@ config UART_CMSDK_APB_PORT0_NAME
This is the device name for UART, and is included in the device
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 ----------

config UART_CMSDK_APB_PORT1
Expand All @@ -67,25 +48,6 @@ config UART_CMSDK_APB_PORT1_NAME
This is the device name for UART, and is included in the device
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 ----------

config UART_CMSDK_APB_PORT2
Expand All @@ -102,25 +64,6 @@ config UART_CMSDK_APB_PORT2_NAME
This is the device name for UART, and is included in the device
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 ----------

config UART_CMSDK_APB_PORT3
Expand All @@ -137,25 +80,6 @@ config UART_CMSDK_APB_PORT3_NAME
This is the device name for UART, and is included in the device
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 ----------

config UART_CMSDK_APB_PORT4
Expand All @@ -172,23 +96,4 @@ config UART_CMSDK_APB_PORT4_NAME
This is the device name for UART, and is included in the device
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
20 changes: 0 additions & 20 deletions drivers/serial/Kconfig.nrf5
Expand Up @@ -24,26 +24,6 @@ config UART_NRF5_NAME
This is the device name for UART, and is included in the device
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
int
default 16000000
Expand Down

0 comments on commit 748f724

Please sign in to comment.