Commits
Simon Glass committed 42f9f915c2b
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>