Patchwork hw/vexpress: Use correct HBI (board model number) for vexpress-a15

login
register
mail settings
Submitter Peter Maydell
Date Jan. 26, 2013, 1:26 p.m.
Message ID <1359206791-14127-1-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/215908/
State New
Headers show

Comments

Peter Maydell - Jan. 26, 2013, 1:26 p.m.
The vexpress-a15 QEMU model is supposed to be a V2P-CA15; the HBI
(a kind of board model number) for this coretile is 237, not 217.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
The only effect of this bug I know of is that kernels using a device
tree will yell at you if the HBI doesn't match the one in the dtb...

 hw/vexpress.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/hw/vexpress.c b/hw/vexpress.c
index 7f0897c..741b044 100644
--- a/hw/vexpress.c
+++ b/hw/vexpress.c
@@ -271,7 +271,7 @@  static void a15_daughterboard_init(const VEDBoardInfo *daughterboard,
         cpu_model = "cortex-a15";
     }
 
-    *proc_id = 0x14000217;
+    *proc_id = 0x14000237;
 
     for (n = 0; n < smp_cpus; n++) {
         ARMCPU *cpu;