summaryrefslogtreecommitdiffstats
path: root/src/usr/ibscom
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-05-08 13:43:26 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-05-15 09:34:02 -0500
commitb0fc4d4e4bd6d78040b96674a2fe65fc306ea995 (patch)
treeaff044f9569a674b403496be54ad939af2ac76fb /src/usr/ibscom
parentc24b25d1a269c4f814b634e49d81a8bb3772f0e7 (diff)
downloadtalos-hostboot-b0fc4d4e4bd6d78040b96674a2fe65fc306ea995.tar.gz
talos-hostboot-b0fc4d4e4bd6d78040b96674a2fe65fc306ea995.zip
BEAM fixes for various components.
Change-Id: I900f33eefeeeaa35d981b93c1af0bec8ab4000c2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4424 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/ibscom')
-rw-r--r--src/usr/ibscom/ibscom.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/ibscom/ibscom.C b/src/usr/ibscom/ibscom.C
index a6d17a2a6..44b34a25d 100644
--- a/src/usr/ibscom/ibscom.C
+++ b/src/usr/ibscom/ibscom.C
@@ -259,7 +259,7 @@ errlHndl_t getTargetVirtualAddress(Target* i_target,
// Map target's virtual address
//NOTE: mmio_dev_map only supports 32 GB Allocation. Technically,
- //hostboot IBSCOM MMIO allocated 64GB, but the SCOM address space
+ //hostboot IBSCOM MMIO allocated 64GB, but the SCOM address space
//is small enough that 32 GB is sufficient.
o_virtAddr = static_cast<uint64_t*>
(mmio_dev_map(reinterpret_cast<void*>(l_IBScomBaseAddr),
@@ -503,7 +503,7 @@ errlHndl_t doIBScom(DeviceFW::OperationType i_opType,
}
- uint64_t pib_code = (errData && PIB_ERROR_STATUS_MASK)
+ uint64_t pib_code = (errData & PIB_ERROR_STATUS_MASK)
>> PIB_ERROR_SHIFT;
if((errData & HOST_ERROR_VALID) &&//bit 32
// technically between 0x001 && 0x7, but only 3
OpenPOWER on IntegriCloud