Re: [PATCH v2] serial: 8250_uniphier: add earlycon support

From: Peter Hurley
Date: Fri Oct 30 2015 - 09:30:44 EST


On 10/29/2015 10:46 PM, Masahiro Yamada wrote:
This reuses the code of drivers/tty/serial/8250/8250_early.c except

- Overwrite device->port.iotype and device->port.regshift for
UPIO_MEM32 because of_setup_earlycon() has set them for UPIO_MEM.

- Set device->baud to zero to prevent early8250_setup() from
initializing the divisor register because port->uartclk does not
match the frequency expected by this hardware.

Reviewed-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/