diff options
author | Paul Cercueil <paul@crapouillou.net> | 2017-12-28 16:07:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-09 18:49:14 +0300 |
commit | ea507ce3e05a462e170db4b6af1002fb0ed72916 (patch) | |
tree | 3c6882dc0f651337d8677ae719e468f7e73f046b /drivers/tty/serdev | |
parent | aed3d7012ca79f102bf98cca808c7ff5ceb26c57 (diff) | |
download | linux-ea507ce3e05a462e170db4b6af1002fb0ed72916.tar.xz |
serial: 8250_ingenic: Parse earlycon options
In the devicetree, it is possible to specify the baudrate, parity,
bits, flow of the early console, by passing a configuration string like
this:
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:57600n8";
};
This, for instance, will configure the early console for a baudrate of
57600 bps, no parity, and 8 bits per baud.
This patches implements parsing of this configuration string in the
8250_ingenic driver, which previously just ignored it.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serdev')
0 files changed, 0 insertions, 0 deletions