aboutsummaryrefslogtreecommitdiff
path: root/hdata/iohub.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-01-16 13:58:40 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-01-25 13:57:05 -0600
commit0b0d15e3c1701fd98bc72b69ae9ba43699aef68d (patch)
treeb9ae3aeef9e17ae29b70744bf1d5564c59bc5f6e /hdata/iohub.c
parent3b4ae3a2e2a56e1166be9176445fe7fcdee1fca2 (diff)
downloadskiboot-0b0d15e3c1701fd98bc72b69ae9ba43699aef68d.zip
skiboot-0b0d15e3c1701fd98bc72b69ae9ba43699aef68d.tar.gz
skiboot-0b0d15e3c1701fd98bc72b69ae9ba43699aef68d.tar.bz2
Remove POWER9N DD1 support
This is not a shipping product and is no longer supported by Linux or other firmware components. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hdata/iohub.c')
-rw-r--r--hdata/iohub.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hdata/iohub.c b/hdata/iohub.c
index e16fb0b..ad1ddae 100644
--- a/hdata/iohub.c
+++ b/hdata/iohub.c
@@ -257,7 +257,6 @@ static struct dt_node *add_pec_stack(const struct cechub_io_hub *hub,
{
struct dt_node *stack;
u64 eq[8];
- uint32_t version;
u8 *gen4;
int i;
@@ -283,16 +282,8 @@ static struct dt_node *add_pec_stack(const struct cechub_io_hub *hub,
eq[i+4] = be64_to_cpu(hub->phb4_lane_eq[phb_index][i]);
/* Lane-eq settings are packed 2 bytes per lane for 16 lanes
- * On P9 DD1, 2 bytes per lane are used in the hardware
* On P9 DD2, 1 byte per lane is used in the hardware
*/
- version = mfspr(SPR_PVR);
- if (is_power9n(version) &&
- (PVR_VERS_MAJ(version) == 1)) {
- dt_add_property_u64s(stack, "ibm,lane-eq", eq[0], eq[1],
- eq[2], eq[3], eq[4], eq[5], eq[6], eq[7]);
- return stack;
- }
/* Repack 2 byte lane settings into 1 byte */
gen4 = (u8 *)&eq[4];