diff options
| author | Dean Sanner <dsanner@us.ibm.com> | 2016-08-24 13:13:56 -0500 |
|---|---|---|
| committer | Matthew A. Ploetz <maploetz@us.ibm.com> | 2016-09-14 10:48:18 -0400 |
| commit | 51eb592359a284eeca0f68022bd8869688ea7177 (patch) | |
| tree | 7036408db8bcc85e424737fcf95a7be39676f79c /src/build/debug | |
| parent | c9284c4c8811430bab31c7fe381c8c9dc3958231 (diff) | |
| download | talos-hostboot-51eb592359a284eeca0f68022bd8869688ea7177.tar.gz talos-hostboot-51eb592359a284eeca0f68022bd8869688ea7177.zip | |
Read HRMOR directly from model for VPO tools
Change-Id: I391665f833e030f82a60ad0a2da181675e5af747
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28745
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/build/debug')
| -rwxr-xr-x | src/build/debug/vpo-debug-framework.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/build/debug/vpo-debug-framework.pl b/src/build/debug/vpo-debug-framework.pl index cf6e2f9fa..6d095ca30 100755 --- a/src/build/debug/vpo-debug-framework.pl +++ b/src/build/debug/vpo-debug-framework.pl @@ -882,11 +882,13 @@ sub writeScom # @sub getHRMOR # -# Returns the HRMOR (0 for VPO). +# Returns the HRMOR (read from model for VPO). # sub getHRMOR { - return 0; + my $hrmor = `getspy pu.c ECP.LS.HRMOR -c14 -debug3.1 -quiet | grep 0x`; + chomp $hrmor; + return hex( $hrmor ); } |

