hw/pxa2xx: Fix transposed crn/crm values for pxa2xx cp14 perf regs
commitf565235b71b7be66f3f6b385a5377969f5ed26f7
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 2 Feb 2013 15:13:02 +0000 (2 15:13 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 6 Feb 2013 22:37:24 +0000 (6 16:37 -0600)
tree0b9ee4e32d11e27c92e6bda0aaf1c5553caa145c
parent5b2cd9857d945cc1e9b6f596c757f70e25aed60c
hw/pxa2xx: Fix transposed crn/crm values for pxa2xx cp14 perf regs

When the pxa2xx performance counter related cp14 registers were converted
from a switch-statement implementation to the new table driven cpregs
format in commit dc2a9045c, the crn and crm values for all these
registers were accidentally transposed. Fix this mistake, which was
causing OpenBSD for Zaurus to fail to boot.

Reported-by: Jonathan Gray <jsg@jsg.id.au>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pxa2xx.c