aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2021-08-04 12:50:58 +0530
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2021-08-06 12:22:28 +0530
commit02f90c12a7949c34a2d405f939bef1f352a542d4 (patch)
tree6fe78148641c711d64dd223aa47931833279c95a /hw
parent7706e3300ceaa446e5f2fe1d3078fb0ace49b4d7 (diff)
downloadskiboot-02f90c12a7949c34a2d405f939bef1f352a542d4.zip
skiboot-02f90c12a7949c34a2d405f939bef1f352a542d4.tar.gz
skiboot-02f90c12a7949c34a2d405f939bef1f352a542d4.tar.bz2
prd: Add base P10 support
Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/prd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/prd.c b/hw/prd.c
index 761d0a4..45d7654 100644
--- a/hw/prd.c
+++ b/hw/prd.c
@@ -740,6 +740,11 @@ void prd_init(void)
prd_ipoll_status_reg = PRD_P9_IPOLL_REG_STATUS;
prd_ipoll_mask = PRD_P9_IPOLL_MASK;
break;
+ case proc_gen_p10: /* IPOLL regs are the same for p9 and p10 */
+ prd_ipoll_mask_reg = PRD_P9_IPOLL_REG_MASK;
+ prd_ipoll_status_reg = PRD_P9_IPOLL_REG_STATUS;
+ prd_ipoll_mask = PRD_P9_IPOLL_MASK;
+ break;
default:
assert(0);
}