Add new Qemu ARM virtual platform to Kconfig

Qemu ARM virtual platform emulates an ARM machine
with configurable, ARM components. This commit adds
configuration option for Cortex-A7 based virtual machine.

qemu_arm_virt_ca7 name is derived from a command
to invoke Qemu:
qemu-system-arm -M virt -cpu cortex-a7

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Ia267ee7c989b8c22e6c19d6f11ff3ee2eef8148b
This commit is contained in:
Zbigniew Bodek 2020-10-08 16:10:50 +08:00 committed by Wojciech Zmuda WX948747
parent 647f91af7b
commit 59db6662c2
1 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,7 @@ config PLATFORM
string
default "hi3516dv300" if PLATFORM_HI3516DV300
default "hi3518ev300" if PLATFORM_HI3518EV300
default "virt" if PLATFORM_QEMU_ARM_VIRT_CA7
choice
prompt "Board"
@ -10,6 +11,8 @@ choice
IPC has several chips:
hi3516dv300
hi3518ev300
Qemu ARM Virt variants (based on different CPU types):
qemu_arm_virt_ca7
config PLATFORM_HI3516DV300
bool "hi3516dv300"
@ -19,6 +22,12 @@ config PLATFORM_HI3518EV300
bool "hi3518ev300"
select ARCH_CORTEX_A7
config PLATFORM_QEMU_ARM_VIRT_CA7
bool "qemu_arm_virt_ca7"
select ARCH_CORTEX_A7
help
QEMU ARM Virtual Platform using Cortex-A7 CPU.
endchoice
config TEE_ENABLE