armv7m_nvic: fix CPUID Base Register
authorRabin Vincent <rabin@rab.in>
Thu, 1 May 2014 14:24:44 +0000 (15:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 1 May 2014 14:24:44 +0000 (15:24 +0100)
commite3da9921ebc554fad3224a9fdda9a7425ffd9ef7
treeffbf06134096b9031f25cf43cc1102a867d2cad5
parent3b7715796401ad1b00f752217fe8f425915e801b
armv7m_nvic: fix CPUID Base Register

cp15.c0_cpuid is never initialized for ARMv7-M; take the value directly
from cpu->midr instead.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Message-id: 1398036308-32166-1-git-send-email-rabin@rab.in
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/armv7m_nvic.c