diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-10-30 11:46:16 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 19:59:48 -0800 |
| commit | b8d20e06eaad4c2bd64746cacd95be9a5d3e747f (patch) | |
| tree | 3aa1041bf764569535c02fe39a6055febe4311f0 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | d72d391c126e0ffd3047c06c4bef4d795853d5d5 (diff) | |
| download | cachepc-linux-b8d20e06eaad4c2bd64746cacd95be9a5d3e747f.tar.gz cachepc-linux-b8d20e06eaad4c2bd64746cacd95be9a5d3e747f.zip | |
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 <yamada.masahiro@socionext.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
