Skip to content
Commit 2332590c authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

serial: smh: Initialize serial only if semihosting is enabled



If semihosting is disabled, then the user has no debugger attached, and
will not see any messages. Don't create a serial device in this
instance, to (hopefully) fall back on another working serial device.

Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
parent bbe310cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment