]> git.sur5r.net Git - u-boot/commit
dm: serial: Support CONFIG_CONS_INDEX if available
authorSimon Glass <sjg@chromium.org>
Thu, 23 Oct 2014 03:37:06 +0000 (21:37 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:29:07 +0000 (19:29 -0600)
commit91155c65604904b2048f7ad79d8303eb9a27e351
tree97cdcbde88f61eaa85f88e1f87817391d272239d
parent11c1a87893a1005180e9609925b35cee241ec88c
dm: serial: Support CONFIG_CONS_INDEX if available

Try to use this option to select the correct uart for the console. This
mimics the behaviour of drivers/serial.c.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
drivers/serial/serial-uclass.c