drivers: remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME

Remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-07-22 16:14:22 +02:00 committed by Christopher Friedt
commit bfd45e5b8c
3 changed files with 4 additions and 15 deletions

View file

@ -319,7 +319,7 @@ device.
- Flash partition that the Zephyr image's text section should be linked
into
* - zephyr,console
- Sets default :kconfig:`CONFIG_UART_CONSOLE_ON_DEV_NAME`
- Sets UART device used by console driver
* - zephyr,dtcm
- Data Tightly Coupled Memory node on some Arm SoCs
* - zephyr,entropy

View file

@ -52,6 +52,8 @@ Removed APIs in this release
in favor of chosen node ``zephyr,ot-uart``.
* Removed ``CONFIG_UART_MCUMGR_ON_DEV_NAME`` Kconfig option
in favor of direct use of chosen node ``zephyr,uart-mcumgr``.
* Removed ``CONFIG_UART_CONSOLE_ON_DEV_NAME`` Kconfig option
in favor of direct use of chosen node ``zephyr,console``.
============================

View file

@ -6,18 +6,6 @@
# Setting shared by different subsystems
# Workaround for not being able to have commas in macro arguments
DT_CHOSEN_Z_CONSOLE := zephyr,console
config UART_CONSOLE_ON_DEV_NAME
string "Device Name of UART Device for UART Console"
default "$(dt_chosen_label,$(DT_CHOSEN_Z_CONSOLE))" if HAS_DTS
default "UART_0"
depends on (UART_CONSOLE || CONSOLE_SUBSYS)
help
This option specifies the name of UART device to be used for
UART console.
menuconfig CONSOLE
bool "Console drivers"
@ -49,8 +37,7 @@ config UART_CONSOLE
depends on SERIAL && SERIAL_HAS_DRIVER
select CONSOLE_HAS_DRIVER
help
Enable this option to use one UART for console. Make sure
CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly.
Enable this option to use one UART for console.
config UART_CONSOLE_INIT_PRIORITY
int "Init priority"