From 078758d0741c30d44246383ce5c2ba43281e9aec Mon Sep 17 00:00:00 2001 From: Evgeny Voevodin Date: Fri, 13 Jan 2012 20:52:40 +0000 Subject: hw/arm_boot.c: Make SMP boards specify address to poll in bootup loop The secondary CPU bootloader in arm_boot.c holds secondary CPUs in a pen until the primary CPU releases them. Make boards specify the address to be polled to determine whether to leave the pen (it was previously hardcoded to 0x10000030, which is a Versatile Express/ Realview specific system register address). Signed-off-by: Evgeny Voevodin Signed-off-by: Peter Maydell Signed-off-by: Andrzej Zaborowski --- hw/vexpress.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/vexpress.c') diff --git a/hw/vexpress.c b/hw/vexpress.c index 0f39d8da0..71115564e 100644 --- a/hw/vexpress.c +++ b/hw/vexpress.c @@ -31,11 +31,13 @@ #include "exec-memory.h" #define SMP_BOOT_ADDR 0xe0000000 +#define SMP_BOOTREG_ADDR 0x10000030 #define VEXPRESS_BOARD_ID 0x8e0 static struct arm_boot_info vexpress_binfo = { .smp_loader_start = SMP_BOOT_ADDR, + .smp_bootreg_addr = SMP_BOOTREG_ADDR, }; static void vexpress_a9_init(ram_addr_t ram_size, -- cgit v1.2.3