Add a kconfig option for Cavium ThunderX platforms.
Signed-off-by: Stefano Stabellini <[email protected]>
CC: [email protected]
CC: [email protected]
---
xen/arch/arm/platforms/Kconfig | 14 ++++++++++++++
xen/arch/arm/platforms/Makefile | 6 +++---
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
index e229f8f..62b528b 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -44,6 +44,17 @@ config XGENE
Enable all the required drivers for AppliedMicro X-Gene (Mustang
and Storm)
+config THUNDERX
+ bool "Cavium ThunderX"
+ depends on ARM_64
+ select ARM_SMMU
+ select GICV3
+ select HAS_ITS
+ select HAS_PL011
+ select ACPI if EXPERT = "y"
+ ---help---
+ Enable all the required drivers for Cavium ThunderX
+
endchoice
config ALL64_PLAT
@@ -62,3 +73,6 @@ config XGENE_PLATFORM
bool
default (ALL64_PLAT || XGENE)
+config THUNDERX_PLATFORM
+ bool
+ default (ALL64_PLAT || THUNDERX)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index 2de0c6a..bc35640 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -6,6 +6,6 @@ obj-$(CONFIG_ARM_32) += omap5.o
obj-$(CONFIG_ARM_32) += rcar2.o
obj-$(CONFIG_ARM_64) += seattle.o
obj-y += sunxi.o
-obj-$(CONFIG_ARM_64) += thunderx.o
-obj-$(CONFIG_XGENE_PLATFORM) += xgene-storm.o
-obj-$(CONFIG_MPSOC_PLATFORM) += xilinx-zynqmp.o
+obj-$(CONFIG_THUNDERX_PLATFORM) += thunderx.o
+obj-$(CONFIG_XGENE_PLATFORM) += xgene-storm.o
+obj-$(CONFIG_MPSOC_PLATFORM) += xilinx-zynqmp.o
--
1.9.1
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel