aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2015-10-30 11:46:16 +0900
committerGreg Kroah-Hartman <[email protected]>2015-12-13 19:59:48 -0800
commitb8d20e06eaad4c2bd64746cacd95be9a5d3e747f (patch)
tree3aa1041bf764569535c02fe39a6055febe4311f0 /lib/dynamic_debug.c
parentd72d391c126e0ffd3047c06c4bef4d795853d5d5 (diff)
serial: 8250_uniphier: add earlycon support
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. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions