dm: serial: Don't require device tree to configure a console
authorSimon Glass <sjg@chromium.org>
Wed, 17 Sep 2014 15:02:40 +0000 (09:02 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 23 Sep 2014 18:44:30 +0000 (12:44 -0600)
commit59990bf0eaa12b123759cb0485f38e156103e93c
treec40a340ce912d870d185125044bcdef6a5d6f998
parent91cbd792c46c916ef196c5b7cd16ff592d2f3632
dm: serial: Don't require device tree to configure a console

Allow serial_find_console_or_panic() to work without a device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial-uclass.c