soc: arm64: xenvm: Move GIC version to DT
Move the GIC version to the device tree for xenvm to improve readability Signed-off-by: Piotr Wojnarowski <pwojnarowski@antmicro.com>
This commit is contained in:
parent
bc8b234d9c
commit
562716d709
|
@ -1,8 +0,0 @@
|
|||
# Copyright (c) 2022 Arm Limited (or its affiliates). All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config XENVM_USE_GIC_V3
|
||||
bool "Xen VM using GICv3"
|
||||
depends on BOARD_XENVM
|
||||
help
|
||||
Configure Xen VM to use GICv3 instead of default GICv2.
|
|
@ -52,7 +52,7 @@
|
|||
};
|
||||
|
||||
gic: interrupt-controller@3001000 {
|
||||
compatible = "arm,gic";
|
||||
compatible = "arm,gic-v2", "arm,gic";
|
||||
#interrupt-cells = <0x04>;
|
||||
#address-cells = <0x00>;
|
||||
interrupt-controller;
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
#include "xenvm.dts"
|
||||
|
||||
&gic {
|
||||
compatible = "arm,gic-v3", "arm,gic";
|
||||
reg = <0x00 0x3001000 0x00 0x10000 0x00 0x3020000 0x00 0x1000000>;
|
||||
};
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
CONFIG_SOC_XENVM=y
|
||||
CONFIG_BOARD_XENVM=y
|
||||
|
||||
# Use GICv3
|
||||
CONFIG_XENVM_USE_GIC_V3=y
|
||||
|
||||
# Enable UART driver
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ config SOC_XENVM
|
|||
bool "Xen virtual machine on aarch64"
|
||||
select ARM64
|
||||
select ARM_ARCH_TIMER
|
||||
select GIC_V3 if XENVM_USE_GIC_V3
|
||||
select GIC_V2 if !XENVM_USE_GIC_V3
|
||||
select CPU_CORTEX_A72
|
||||
|
||||
config XEN_INITIAL_DOMAIN
|
||||
|
|
Loading…
Reference in a new issue