booke206: fix booke206_tlbnps for mav 2.0
commit3f330293bace409fc172201f27084784c697f8f8
authorKONRAD Frederic <frederic.konrad@adacore.com>
Mon, 7 Aug 2017 15:50:45 +0000 (7 17:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 7 Sep 2017 23:30:55 +0000 (8 09:30 +1000)
tree7642bafa84a8beae1d0691614d23dabb1b6724f0
parent2e886fb39168942ab03b91062e715946e4af8436
booke206: fix booke206_tlbnps for mav 2.0

This fixes booke206_tlbnps for MAV 2.0 by checking the MMUCFG register and
return directly the right tlbnps instead of computing it from non existing
field.

Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h