arch/arm64: enable for arm64 virt to choice CPU core
Summary Qemu virt board can choice CPU core with boot parameter and we need to add Konfig option for choice the change do this Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
This commit is contained in:
parent
74dddfe92b
commit
37e69cdeb0
@ -38,7 +38,6 @@ config ARCH_CHIP_A64
|
|||||||
|
|
||||||
config ARCH_CHIP_QEMU
|
config ARCH_CHIP_QEMU
|
||||||
bool "QEMU virt platform (ARMv8a)"
|
bool "QEMU virt platform (ARMv8a)"
|
||||||
select ARCH_CORTEX_A53
|
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
select ARCH_NEED_ADDRENV_MAPPING
|
select ARCH_NEED_ADDRENV_MAPPING
|
||||||
---help---
|
---help---
|
||||||
|
@ -16,18 +16,21 @@ config ARCH_CHIP_QEMU_A53
|
|||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARMV8A_HAVE_GICv3
|
select ARMV8A_HAVE_GICv3
|
||||||
select ARCH_HAVE_PSCI
|
select ARCH_HAVE_PSCI
|
||||||
|
select ARCH_CORTEX_A53
|
||||||
|
|
||||||
config ARCH_CHIP_QEMU_A57
|
config ARCH_CHIP_QEMU_A57
|
||||||
bool "Qemu virtual Processor (cortex-a57)"
|
bool "Qemu virtual Processor (cortex-a57)"
|
||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARMV8A_HAVE_GICv3
|
select ARMV8A_HAVE_GICv3
|
||||||
select ARCH_HAVE_PCSI
|
select ARCH_HAVE_PCSI
|
||||||
|
select ARCH_CORTEX_A57
|
||||||
|
|
||||||
config ARCH_CHIP_QEMU_A72
|
config ARCH_CHIP_QEMU_A72
|
||||||
bool "Qemu virtual Processor (cortex-a72)"
|
bool "Qemu virtual Processor (cortex-a72)"
|
||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARMV8A_HAVE_GICv3
|
select ARMV8A_HAVE_GICv3
|
||||||
select ARCH_HAVE_PCSI
|
select ARCH_HAVE_PCSI
|
||||||
|
select ARCH_CORTEX_A72
|
||||||
|
|
||||||
endchoice # Qemu Chip Selection
|
endchoice # Qemu Chip Selection
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ CONFIG_ARCH_BOARD_QEMU_ARMV8A=y
|
|||||||
CONFIG_ARCH_CHIP="qemu"
|
CONFIG_ARCH_CHIP="qemu"
|
||||||
CONFIG_ARCH_CHIP_QEMU=y
|
CONFIG_ARCH_CHIP_QEMU=y
|
||||||
CONFIG_ARCH_CHIP_QEMU_A53=y
|
CONFIG_ARCH_CHIP_QEMU_A53=y
|
||||||
CONFIG_ARCH_EARLY_PRINT=y
|
|
||||||
CONFIG_ARCH_INTERRUPTSTACK=8192
|
CONFIG_ARCH_INTERRUPTSTACK=8192
|
||||||
CONFIG_BUILTIN=y
|
CONFIG_BUILTIN=y
|
||||||
CONFIG_DEBUG_ASSERTIONS=y
|
CONFIG_DEBUG_ASSERTIONS=y
|
||||||
|
Loading…
Reference in New Issue
Block a user