commit | 10a7fe95497e6d52cb26c91bdf74525e9c8046e8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 27 09:31:04 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jul 31 12:21:40 2017 -0400 |
tree | 8d8d971ef07cc5f8c3d5096f9061eee71e0c6d7a | |
parent | 045e4b5590ac160b3a3f160e7eacfed65dba0141 [diff] |
dm: console: Check for serial devices properly With driver model the serial device is often not called "serial". Mark driver-model stdio devices so that they can be detected and we can look up the uclass. This is a more reliable way of finding out whether the console is connected to a serial device or not. Signed-off-by: Simon Glass <sjg@chromium.org>