diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-02-16 09:56:09 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-02-17 11:13:26 +0000 |
commit | 96eacf641346bc1c432281575a265f6348a8f5c6 (patch) | |
tree | 477515b37848c790371a99bb76ccc816a5c1f488 /hw/exynos4_boards.c | |
parent | b7206878680f1e77031dacb420ef2c630a6b6257 (diff) |
arm_boot: Pass base address of GIC CPU interface, not whole GIC
The arm_boot secondary boot loader code needs the address of
the GIC CPU interface. Obtaining this from the base address
of the private peripheral region was possible for A9 and 11MPcore,
but the A15 puts the GIC CPU interface in a different place.
So make boards pass in the GIC CPU interface address directly.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/exynos4_boards.c')
-rw-r--r-- | hw/exynos4_boards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/exynos4_boards.c b/hw/exynos4_boards.c index 329efbeba4..553a02b910 100644 --- a/hw/exynos4_boards.c +++ b/hw/exynos4_boards.c @@ -112,7 +112,8 @@ static Exynos4210State *exynos4_boards_init_common( exynos4_board_binfo.kernel_filename = kernel_filename; exynos4_board_binfo.initrd_filename = initrd_filename; exynos4_board_binfo.kernel_cmdline = kernel_cmdline; - exynos4_board_binfo.smp_priv_base = EXYNOS4210_SMP_PRIVATE_BASE_ADDR; + exynos4_board_binfo.gic_cpu_if_addr = + EXYNOS4210_SMP_PRIVATE_BASE_ADDR + 0x100; PRINT_DEBUG("\n ram_size: %luMiB [0x%08lx]\n" " kernel_filename: %s\n" |