diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-12-12 21:47:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-13 12:50:13 -0500 |
commit | 5c2f37dddd963df61aed14283adb98067fb6afe5 (patch) | |
tree | 15618f779ba4af902c0d7e7b48bf25bb34751f12 /drivers/tty | |
parent | 9deaa53ac7fa373623123aa4f18828dd62292b1a (diff) |
serial: make FSL errata depend on 8250_CONSOLE, not just 8250
The recent commit "serial: add irq handler for Freescale 16550 errata"
would allow Kconfig choices that had 8250 support as a module and
yet still try and build in the errata fix non-modular, resulting
in build failures for some non-embedded PPC targets.
Since we hook in the errata fix from legacy_serial.c, which is
built only for PPC_UDBG_16550, and since the errata is only really
relevant for SysRQ on serial console, tighten up the dependencies
to be exactly that.
We'll get coverage on the relevant Freescale boards because the
Kconfig for their CPU types all select the PPC_UDBG_16550 option,
and the defconfigs also all select the 8250_CONSOLE option. Also,
the 8250_CONSOLE option has a strict dependency on "SERIAL_8250=y"
which resolves the reported problem for non Freescale targets.
Reported-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Tested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index fee9e04f42e7..d1e4f203ae61 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -99,7 +99,7 @@ config SERIAL_8250_PNP | |||
99 | 99 | ||
100 | config SERIAL_8250_FSL | 100 | config SERIAL_8250_FSL |
101 | bool | 101 | bool |
102 | depends on SERIAL_8250 && PPC | 102 | depends on SERIAL_8250_CONSOLE && PPC_UDBG_16550 |
103 | default PPC | 103 | default PPC |
104 | 104 | ||
105 | config SERIAL_8250_HP300 | 105 | config SERIAL_8250_HP300 |