diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2017-12-19 21:26:11 +0530 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-12-21 13:43:20 -0500 |
commit | aa0883bae4fa03e0e3b085661df5a43dac9326da (patch) | |
tree | d79f8c891f39a001327b5644b90ba594c8bfdfca /src/usr/targeting/common/processMrw.pl | |
parent | c77b6c1a8839b0c0733960fd16e65f73ce195e22 (diff) | |
download | talos-hostboot-aa0883bae4fa03e0e3b085661df5a43dac9326da.tar.gz talos-hostboot-aa0883bae4fa03e0e3b085661df5a43dac9326da.zip |
Fix PEER_HUID attrib for XBUS and ABUS targets
Change-Id: I6fc190f38c5f3d99000576a376e02d3a166e4b6e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51123
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/processMrw.pl')
-rwxr-xr-x | src/usr/targeting/common/processMrw.pl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/usr/targeting/common/processMrw.pl b/src/usr/targeting/common/processMrw.pl index 4c46808cd..b145409ab 100755 --- a/src/usr/targeting/common/processMrw.pl +++ b/src/usr/targeting/common/processMrw.pl @@ -1316,10 +1316,10 @@ sub processXbus $targetObj->setAttribute($target, "PEER_TARGET", $targetObj->getAttribute($xbus_child_conn, "PHYS_PATH")); - $targetObj->setAttribute($xbus_child_conn, "PEER_TARGET", - $targetObj->getAttribute($target, "PHYS_PATH")); - $targetObj->setAttribute($target, "PEER_TARGET", - $targetObj->getAttribute($xbus_child_conn, "PHYS_PATH")); + $targetObj->setAttribute($xbus_child_conn, "PEER_HUID", + $targetObj->getAttribute($target, "HUID")); + $targetObj->setAttribute($target, "PEER_HUID", + $targetObj->getAttribute($xbus_child_conn, "HUID")); $found_xbus = 1; } @@ -1363,6 +1363,11 @@ sub processAbus $targetObj->setAttribute($target, "PEER_PATH", $targetObj->getAttribute($abus_child_conn, "PHYS_PATH")); + $targetObj->setAttribute($abus_child_conn, "PEER_HUID", + $targetObj->getAttribute($target, "HUID")); + $targetObj->setAttribute($target, "PEER_HUID", + $targetObj->getAttribute($abus_child_conn, "HUID")); + # copy Abus attributes to proc my $abus = $targetObj->getFirstConnectionBus($target); $targetObj->setAttribute($target, "EI_BUS_TX_MSBSWAP", |