diff options
author | Nico Huber <nico.h@gmx.de> | 2018-11-11 01:42:17 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-11-21 22:49:48 +0000 |
commit | 755db95d1a36a4bd64519d7e05b00d62e848c458 (patch) | |
tree | 301582945323865890ae28e54ab8725592690618 /src/console | |
parent | 7470c902d80d04730ac1147336339cc057db1be9 (diff) |
(console,drivers/uart)/Kconfig: Fix dependencies
The dependencies of CONSOLE_SERIAL and DRIVERS_UART were somehow
backwards. Fix that. Now, CONSOLE_SERIAL depends on DRIVERS_UART,
because it's using its interface. The individual UART drivers
select DRIVERS_UART, because they implement the interface and
depend on the common UART code.
Some guards had to be fixed (using CONSOLE_SERIAL now instead of
DRIVERS_UART). Some other guards that were only about compilation
of units were removed. We want to build test as much as possible,
right?
Change-Id: I0ea73a8909f07202b23c88db93df74cf9dc8abf9
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/29572
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig index 318ca187ca..e7e329848a 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -29,7 +29,7 @@ config SQUELCH_EARLY_SMP config CONSOLE_SERIAL bool "Serial port console output" default y - depends on DRIVERS_UART_8250IO || DRIVERS_UART_8250MEM || HAVE_UART_SPECIAL + depends on DRIVERS_UART help Send coreboot debug output to a serial port. |