]> git.sur5r.net Git - u-boot/commit
dm: serial: Deal with stdout-path with an alias
authorSimon Glass <sjg@chromium.org>
Sun, 18 Oct 2015 01:41:17 +0000 (19:41 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 4 Nov 2015 13:49:52 +0000 (14:49 +0100)
commit6bdc593e969ffe650399c32908856e0506bbae08
tree726e7dbf82dddca46d305ccd955b00d06dd3ef5c
parentf403914dfc0e08f6dd2284429097faa27d29c1ac
dm: serial: Deal with stdout-path with an alias

Sometimes stdout-path contains a UART alias along with speed, etc. For
example:

stdout-path = "serial0:115200n8";

Add support for decoding this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/serial/serial-uclass.c