commit | 42f9f915c2b7aeac222c93a7f7085d9838722efc | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 27 09:31:03 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jul 31 12:21:40 2017 -0400 |
tree | 0c0467f492b69fa9aff8db01034af8bc6b060cdb | |
parent | ef3fc42ded96403284e5e9bf37b63d332aedd7b4 [diff] |
console: Unify the check for a serial console Put the check for whether a console is a serial device in a function so that we can share the code in the two places that use it. Signed-off-by: Simon Glass <sjg@chromium.org>