summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-05-09 08:10:55 +0300
committerAndre Przywara <andre.przywara@arm.com>2022-05-24 03:46:06 +0300
commit7495051219b64ec0e8fac8930586dc10666530da (patch)
treea780bcc942080d080a98cb8f1b13aa0e5ff5ca7f /drivers
parent821fdfbba36790cc0ece07f01ebe5bb97ce37425 (diff)
downloadu-boot-7495051219b64ec0e8fac8930586dc10666530da.tar.xz
serial: Remove obsolete CONS_INDEX_n Kconfig options
These were only ever implied by sunxi platforms, and that usage has been removed. Current practice is to specify CONFIG_CONS_INDEX in each board's defconfig. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/Kconfig26
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index f6425a530e..45c284a408 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -84,36 +84,10 @@ config VPL_SERIAL_PRESENT
This option enables the full UART in TPL, so if is it disabled,
the full UART driver will be omitted, thus saving space.
-# Logic to allow us to use the imply keyword to set what the default port
-# should be. The default is otherwise 1.
-config CONS_INDEX_0
- bool
-
-config CONS_INDEX_2
- bool
-
-config CONS_INDEX_3
- bool
-
-config CONS_INDEX_4
- bool
-
-config CONS_INDEX_5
- bool
-
-config CONS_INDEX_6
- bool
-
config CONS_INDEX
int "UART used for console"
depends on SPECIFY_CONSOLE_INDEX
range 0 6
- default 0 if CONS_INDEX_0
- default 2 if CONS_INDEX_2
- default 3 if CONS_INDEX_3
- default 4 if CONS_INDEX_4
- default 5 if CONS_INDEX_5
- default 6 if CONS_INDEX_6
default 1
help
Set this to match the UART number of the serial console.