hw/arm/boot: Add boot support for AArch64 processor
commit4d9ebf751a5a98e5dc2e26baf2344e744f4fa7b9
authorMian M. Hamayun <m.hamayun@virtualopensystems.com>
Tue, 17 Dec 2013 19:42:30 +0000 (17 19:42 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 19:42:30 +0000 (17 19:42 +0000)
tree0979c0d09bf308c0f18dec18d74dfde33e9b5082
parent47b1da8134610c10a672b249808dbc763308668e
hw/arm/boot: Add boot support for AArch64 processor

This commit adds support for booting a single AArch64 CPU by setting
appropriate registers. The bootloader includes placeholders for Board-ID
that are used to implement uniform indexing across different bootloaders.

Signed-off-by: Mian M. Hamayun <m.hamayun@virtualopensystems.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1385645602-18662-7-git-send-email-peter.maydell@linaro.org
[PMM:
 * updated to use ARMInsnFixup style bootloader fragments
 * dropped virt.c additions
 * use runtime checks for "is this an AArch64 core" rather than ifdefs
 * drop some unnecessary setting of registers in reset hook
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
hw/arm/boot.c