aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-07-26 20:50:03 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-28 14:03:59 +1000
commit16f7b3b2e7f890b4cc511ade3fe931a2511011f4 (patch)
tree43e05b879bdc6edee4a75cefcf489899ea5dad6d /hw
parenta992835a27a08a7cd6722931201907a76398da09 (diff)
downloadskiboot-16f7b3b2e7f890b4cc511ade3fe931a2511011f4.zip
skiboot-16f7b3b2e7f890b4cc511ade3fe931a2511011f4.tar.gz
skiboot-16f7b3b2e7f890b4cc511ade3fe931a2511011f4.tar.bz2
phb4: Fix copy/paste typo in error logging
Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index 827808c..4fc9237 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -1851,7 +1851,7 @@ static void phb4_read_phb_status(struct phb4 *p,
stat->phbPblErrorStatus = phb4_read_reg_asb(p, PHB_PBL_ERR_STATUS);
stat->phbPblFirstErrorStatus = phb4_read_reg_asb(p, PHB_PBL_ERR1_STATUS);
stat->phbPblErrorLog0 = phb4_read_reg_asb(p, PHB_PBL_ERR_LOG_0);
- stat->phbPblErrorLog1 = phb4_read_reg_asb(p, PHB_PBL_ERR_LOG_0);
+ stat->phbPblErrorLog1 = phb4_read_reg_asb(p, PHB_PBL_ERR_LOG_1);
stat->phbPcieDlpErrorStatus = phb4_read_reg_asb(p, PHB_PCIE_DLP_ERR_STATUS);
stat->phbPcieDlpErrorLog1 = phb4_read_reg_asb(p, PHB_PCIE_DLP_ERRLOG1);