summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/sfc_ast2400.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/pnor/sfc_ast2400.C')
-rw-r--r--src/usr/pnor/sfc_ast2400.C7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/pnor/sfc_ast2400.C b/src/usr/pnor/sfc_ast2400.C
index e8e612efa..aa0e2bb07 100644
--- a/src/usr/pnor/sfc_ast2400.C
+++ b/src/usr/pnor/sfc_ast2400.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2016 */
+/* Contributors Listed Below - COPYRIGHT 2014,2018 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -95,6 +95,11 @@ errlHndl_t SfcAST2400::hwInit( )
uint32_t l_lpc_addr;
do
{
+ // The BMC may have disabled SIO access, but there's not much point in
+ // testing whether it's available as there's no alternative action if
+ // it is not. Instead, just try the SIO accesses and bail out with the
+ // errl if they fail.
+
/* Enable device 0x0D*/
uint8_t l_data = SIO::ENABLE_DEVICE;
size_t l_len = sizeof(l_data);
OpenPOWER on IntegriCloud