Skip to content

Commit bfd45e5

Browse files
jfischer-nocfriedt
authored andcommitted
drivers: remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME
Remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME. Signed-off-by: Johann Fischer <[email protected]>
1 parent 81603b6 commit bfd45e5

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

doc/reference/devicetree/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ device.
319319
- Flash partition that the Zephyr image's text section should be linked
320320
into
321321
* - zephyr,console
322-
- Sets default :kconfig:`CONFIG_UART_CONSOLE_ON_DEV_NAME`
322+
- Sets UART device used by console driver
323323
* - zephyr,dtcm
324324
- Data Tightly Coupled Memory node on some Arm SoCs
325325
* - zephyr,entropy

doc/releases/release-notes-2.7.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Removed APIs in this release
5252
in favor of chosen node ``zephyr,ot-uart``.
5353
* Removed ``CONFIG_UART_MCUMGR_ON_DEV_NAME`` Kconfig option
5454
in favor of direct use of chosen node ``zephyr,uart-mcumgr``.
55+
* Removed ``CONFIG_UART_CONSOLE_ON_DEV_NAME`` Kconfig option
56+
in favor of direct use of chosen node ``zephyr,console``.
5557

5658
============================
5759

drivers/console/Kconfig

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@
66

77
# Setting shared by different subsystems
88

9-
# Workaround for not being able to have commas in macro arguments
10-
DT_CHOSEN_Z_CONSOLE := zephyr,console
11-
12-
config UART_CONSOLE_ON_DEV_NAME
13-
string "Device Name of UART Device for UART Console"
14-
default "$(dt_chosen_label,$(DT_CHOSEN_Z_CONSOLE))" if HAS_DTS
15-
default "UART_0"
16-
depends on (UART_CONSOLE || CONSOLE_SUBSYS)
17-
help
18-
This option specifies the name of UART device to be used for
19-
UART console.
20-
219
menuconfig CONSOLE
2210
bool "Console drivers"
2311

@@ -49,8 +37,7 @@ config UART_CONSOLE
4937
depends on SERIAL && SERIAL_HAS_DRIVER
5038
select CONSOLE_HAS_DRIVER
5139
help
52-
Enable this option to use one UART for console. Make sure
53-
CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly.
40+
Enable this option to use one UART for console.
5441

5542
config UART_CONSOLE_INIT_PRIORITY
5643
int "Init priority"

0 commit comments

Comments
 (0)