diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2014-07-17 07:52:24 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-07-22 13:59:18 -0500 |
commit | 31615f402551eaa9d77b94d2c79ed5110e825e85 (patch) | |
tree | afe745ef8b864d484531e0f1d00c51da8b954baf /src/usr/devtree/bld_devtree.C | |
parent | 4f25725547a88037201b86487a1415f4dcdce13e (diff) | |
download | blackbird-hostboot-31615f402551eaa9d77b94d2c79ed5110e825e85.tar.gz blackbird-hostboot-31615f402551eaa9d77b94d2c79ed5110e825e85.zip |
Populate actual PVR value instead of architected version
Change-Id: I5d19166fe949394fae536f5165ce6138be7f820b
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12277
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/devtree/bld_devtree.C')
-rw-r--r-- | src/usr/devtree/bld_devtree.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/devtree/bld_devtree.C b/src/usr/devtree/bld_devtree.C index 9bb36f7ca..c77e713bc 100644 --- a/src/usr/devtree/bld_devtree.C +++ b/src/usr/devtree/bld_devtree.C @@ -337,9 +337,9 @@ uint32_t bld_cpu_node(devTree * i_dt, dtOffset_t & i_parentNode, i_dt->addPropertyCells32(cpuNode, "ibm,ppc-interrupt-server#s", interruptServerNum, numThreads); - /* This is the "architected processor version" as defined in PAPR. Just - * stick to 0x0f000004 for P8 and things will be fine */ - i_dt->addPropertyCell32(cpuNode, "cpu-version", 0x0f000004); + /* Fill in the actual PVR of chip -- it is only a 32 bit reg*/ + uint32_t l_pvr = mmio_pvr_read() & 0xFFFFFFFF; + i_dt->addPropertyCell32(cpuNode, "cpu-version", l_pvr); i_dt->addPropertyCells32(cpuNode, "ibm,processor-segment-sizes", segmentSizes, |