Commit 748f724d authored by Kumar Gala's avatar Kumar Gala Committed by Anas Nashif
Browse files

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: default avatarKumar Gala <kumar.gala@linaro.org>
parent 69e9d45b
Loading
Loading
Loading
Loading
+0 −95
Changes for drivers/serial/Kconfig.cmsdk_apb: 0 added lines, 95 removed lines.
Original line number Diff line number Diff line
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
+0 −20
Changes for drivers/serial/Kconfig.nrf5: 0 added lines, 20 removed lines.
Original line number Diff line number Diff line
@@ -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