diff options
author | Michael Neuling <mikey@neuling.org> | 2017-11-16 12:50:23 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-11-15 21:11:15 -0600 |
commit | 40e51134e8d227fdfb6590df6eacba0da5ecccca (patch) | |
tree | f846b0655e5e385ba823a96e74c9205eb6e60e71 | |
parent | b2d6679804b5e71ac5af545e517ae755f5c779b0 (diff) | |
download | skiboot-40e51134e8d227fdfb6590df6eacba0da5ecccca.zip skiboot-40e51134e8d227fdfb6590df6eacba0da5ecccca.tar.gz skiboot-40e51134e8d227fdfb6590df6eacba0da5ecccca.tar.bz2 |
phb4: Fix lane equalisation setting
Fix cut and paste from phb3. The sizes have changes now we have GEN4,
so the check here needs to change also
Without this we end up with the default settings (all '7') rather
than what's in HDAT.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
(cherry picked from commit d957e9278994831831f0bfa7d13433da4b36b4de)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hw/phb4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5150,7 +5150,7 @@ static void phb4_probe_stack(struct dt_node *stk_node, uint32_t pec_index, size_t leq_size; const void *leq = dt_prop_get_def_size(stk_node, "ibm,lane-eq", NULL, &leq_size); - if (leq != NULL && leq_size == 4 * 8) + if (leq != NULL && leq_size >= 6 * 8) dt_add_property(np, "ibm,lane-eq", leq, leq_size); } if (dt_has_node_property(stk_node, "ibm,capp-ucode", NULL)) { |