summaryrefslogtreecommitdiff
path: root/src/console/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-01-11 10:38:02 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-11 14:04:38 +0000
commitda8c12b54f431c544b173b98c7df8772fd63c6d7 (patch)
treeed71c2f41d6b91e174fdb46d3dab38994bd6055b /src/console/Kconfig
parent804adaa1f1bcd60aa038688108bae3c69a5ee157 (diff)
downloadcoreboot-da8c12b54f431c544b173b98c7df8772fd63c6d7.tar.xz
console/Kconfig: Fix dependency of FIXED_UART_FOR_CONSOLE
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 <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/30829 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/console/Kconfig')
-rw-r--r--src/console/Kconfig14
1 files changed, 7 insertions, 7 deletions
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