summaryrefslogtreecommitdiffstats
path: root/src/usr/console/ast2400.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/console/ast2400.C')
-rw-r--r--src/usr/console/ast2400.C13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/console/ast2400.C b/src/usr/console/ast2400.C
index 1990baf49..213ae789e 100644
--- a/src/usr/console/ast2400.C
+++ b/src/usr/console/ast2400.C
@@ -297,6 +297,18 @@ namespace CONSOLE
do
{
+ bool haveSio;
+ l_err = SIO::isAvailable(haveSio);
+ if (l_err) { break; }
+
+ if (!haveSio)
+ {
+ // SIO may have been disabled by the BMC, in which case
+ // assume the UART is already set up.
+ Uart::initialize();
+ break;
+ }
+
// verify the boot flags version from register 0x28
l_err = deviceOp( DeviceFW::READ,
TARGETING::MASTER_PROCESSOR_CHIP_TARGET_SENTINEL,
@@ -304,6 +316,7 @@ namespace CONSOLE
l_len,
DEVICE_SIO_ADDRESS(SIO::SUART1, 0x28));
if (l_err) { break; }
+
// is it the version we expected?
if( expected_version == this_version )
{
OpenPOWER on IntegriCloud