[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 01/10] xen/arm: add XGENE kconfig



Add a kconfig option for X-Gene platforms.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
CC: psawargaonkar@xxxxxxx
CC: apatel@xxxxxxx
---
 xen/arch/arm/platforms/Kconfig  | 12 ++++++++++++
 xen/arch/arm/platforms/Makefile |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
index 409d3f8..e229f8f 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -36,6 +36,14 @@ config MPSOC
        ---help---
        Enable all the required drivers for Xilinx Ultrascale+ MPSoC
 
+config XGENE
+       bool "AppliedMicro X-Gene"
+       depends on ARM_64
+       select HAS_NS16550
+       ---help---
+       Enable all the required drivers for AppliedMicro X-Gene (Mustang
+       and Storm)
+
 endchoice
 
 config ALL64_PLAT
@@ -50,3 +58,7 @@ config MPSOC_PLATFORM
        bool
        default (ALL64_PLAT || MPSOC)
 
+config XGENE_PLATFORM
+       bool
+       default (ALL64_PLAT || XGENE)
+
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index a79bdb9..2de0c6a 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -7,5 +7,5 @@ obj-$(CONFIG_ARM_32) += rcar2.o
 obj-$(CONFIG_ARM_64) += seattle.o
 obj-y += sunxi.o
 obj-$(CONFIG_ARM_64) += thunderx.o
-obj-$(CONFIG_ARM_64) += xgene-storm.o
+obj-$(CONFIG_XGENE_PLATFORM)  += xgene-storm.o
 obj-$(CONFIG_MPSOC_PLATFORM)  += xilinx-zynqmp.o
-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.