diff options
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, |