Enabling EARLY_PRINTK_8250 breaks OCTEON builds because of multiple prom_putchar() implementations. OCTEON provides its own prom_putchar() (also used by the watchdog driver), so we should prevent user from selecting EARLY_PRINTK_8250 on OCTEON. Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx> Cc: stable@xxxxxxxxxxxxxxx --- arch/mips/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index b147e70..b27e65886 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug @@ -22,7 +22,7 @@ config EARLY_PRINTK config EARLY_PRINTK_8250 bool "8250/16550 and compatible serial early printk driver" - depends on EARLY_PRINTK + depends on EARLY_PRINTK && !CAVIUM_OCTEON_SOC default n help If you say Y here, it will be possible to use a 8250/16550 serial -- 1.9.0