From da8c12b54f431c544b173b98c7df8772fd63c6d7 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 11 Jan 2019 10:38:02 +0100 Subject: console/Kconfig: Fix dependency of FIXED_UART_FOR_CONSOLE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Kconfig declaration for FIXED_UART_FOR_CONSOLE was accidentally placed inside an `if CONSOLE_SERIAL` in a96e66a (soc/intel: Clean mess around UART_DEBUG). TEST=Start a clean config, select intel/leafhill and disable serial console. Confirm that config can be saved without error. Change-Id: Ie41687e91af11a13697cbe25938dada2c74b40fb Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/30829 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Arthur Heymans Reviewed-by: Mario Scheithauer Reviewed-by: Kyösti Mälkki --- src/console/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/console/Kconfig b/src/console/Kconfig index 3db7005a10..9cacab03b0 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -37,6 +37,13 @@ config CONSOLE_SERIAL shown on the following menu line. Supporting multiple different types of UARTs in one build is not supported. +config FIXED_UART_FOR_CONSOLE + bool + help + Select to remove the prompt from UART_FOR_CONSOLE in case a + specific UART has to be used (e.g. when the platform code + performs dangerous configurations). + if CONSOLE_SERIAL comment "I/O mapped, 8250-compatible" @@ -48,13 +55,6 @@ if CONSOLE_SERIAL comment "device-specific UART" depends on HAVE_UART_SPECIAL -config FIXED_UART_FOR_CONSOLE - bool - help - Select to remove the prompt from UART_FOR_CONSOLE in case a - specific UART has to be used (e.g. when the platform code - performs dangerous configurations). - config UART_FOR_CONSOLE int prompt "Index for UART port to use for console" if !FIXED_UART_FOR_CONSOLE -- cgit v1.2.3