aboutsummaryrefslogtreecommitdiff
path: root/hdata
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
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')
-rw-r--r--hdata/cpu-common.c16
-rw-r--r--hdata/iohub.c9
2 files changed, 0 insertions, 25 deletions
diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c
index eb86f95..a2ac062 100644
--- a/hdata/cpu-common.c
+++ b/hdata/cpu-common.c
@@ -42,17 +42,6 @@ struct dt_node * add_core_common(struct dt_node *cpus,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00,
};
- const uint8_t pa_features_p9n_dd1[] = {
- 64, 0,
- 0xf6, 0x3f, 0xc7, 0xc0, 0x80, 0xd0, 0x80, 0x00, /* 0 .. 7 */
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 8 .. 15 */
- 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, /* 16 .. 23 */
- 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, /* 24 .. 31 */
- 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, /* 32 .. 39 */
- 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, /* 40 .. 47 */
- 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, /* 48 .. 55 */
- 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, /* 56 .. 63 */
- };
const uint8_t pa_features_p9n_dd20[] = {
64, 0,
0xf6, 0x3f, 0xc7, 0xc0, 0x80, 0xd0, 0x80, 0x00, /* 0 .. 7 */
@@ -111,11 +100,6 @@ struct dt_node * add_core_common(struct dt_node *cpus,
case PVR_TYPE_P9:
name = "PowerPC,POWER9";
if (is_power9n(version) &&
- (PVR_VERS_MAJ(version) == 1)) {
- /* P9N DD1 */
- pa_features = pa_features_p9n_dd1;
- pa_features_size = sizeof(pa_features_p9n_dd1);
- } else if (is_power9n(version) &&
(PVR_VERS_MAJ(version) == 2) &&
(PVR_VERS_MIN(version) == 0)) {
/* P9N DD2.0 */
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];