diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-07-31 21:37:06 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-04 17:13:10 +1000 |
commit | 1c974200eb5e9c81e841733e99848885f917b108 (patch) | |
tree | 63762ea100a06b8bc08506b745bd90bcd5f0e9f9 /hw/npu2.c | |
parent | 7e017fa42451a23b4c332200da3db1daafe04f1e (diff) | |
download | skiboot-1c974200eb5e9c81e841733e99848885f917b108.zip skiboot-1c974200eb5e9c81e841733e99848885f917b108.tar.gz skiboot-1c974200eb5e9c81e841733e99848885f917b108.tar.bz2 |
npu2: Allow POWER9 DD2 in ec level check
Don't bail when we encounter a POWER9 DD2.x chip.
Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
Acked-By: Alistair Popple <alistair@popple.id.au>
Cc: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Cc: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/npu2.c')
-rw-r--r-- | hw/npu2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1231,7 +1231,7 @@ static void npu2_probe_phb(struct dt_node *dn) path = dt_get_path(dn); gcid = dt_get_chip_id(dn); assert(proc_chip = get_chip(gcid)); - if ((proc_chip->ec_level & 0xf0) != 0x10) { + if ((proc_chip->ec_level & 0xf0) > 0x20) { prerror("NPU2: unsupported ec level on Chip 0x%x!\n", gcid); return; } |