diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2018-01-11 16:11:23 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-19 15:49:30 -0500 |
commit | ddcca73051060f11802da7ddaa5e1d66b12025c4 (patch) | |
tree | 01fdd8acc33835fc11764baa3fb7f08a5c4be88e /arch/arm/mach-qemu | |
parent | 6b3d4f3def34d364d71a2eb89a2e33f1b6bb0d30 (diff) |
ARM: qemu-arm: Add support for AArch64
This adds support for '-machine virt' on AArch64. This is rather simple:
we just add TARGET_QEMU_ARM_xxBIT to select a few different Kconfig
symbols, provide the ARMv8 memory map from the board file and add a new
defconfig based on the 32-bit defconfig.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-qemu')
-rw-r--r-- | arch/arm/mach-qemu/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig index 3500b56cb0..133163aecf 100644 --- a/arch/arm/mach-qemu/Kconfig +++ b/arch/arm/mach-qemu/Kconfig @@ -10,3 +10,14 @@ config SYS_CONFIG_NAME default "qemu-arm" endif + +config TARGET_QEMU_ARM_32BIT + bool "Support qemu_arm" + depends on ARCH_QEMU + select CPU_V7 + select ARCH_SUPPORT_PSCI + +config TARGET_QEMU_ARM_64BIT + bool "Support qemu_arm64" + depends on ARCH_QEMU + select ARM64 |