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

[Xen-devel] [PATCH 07/10] xen/arm: add MIDWAY kconfig



Add a kconfig option for Calxeda Midway platforms.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
CC: andre.przywara@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 3b12254..07990e6 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -84,6 +84,14 @@ config OMAP5
        ---help---
        Enable all the required drivers for TI OMAP5 based platforms.
 
+config MIDWAY
+       bool "Calxeda Midway"
+       depends on ARM_32
+       select HAS_PL011
+       select ARM_SMMU
+       ---help---
+       Enable all the required drivers for Calxeda Midway.
+
 endchoice
 
 config ALL64_PLAT
@@ -121,3 +129,7 @@ config RCAR2_PLATFORM
 config OMAP5_PLATFORM
        bool
        default (ALL32_PLAT || OMAP5)
+
+config MIDWAY_PLATFORM
+       bool
+       default (ALL32_PLAT || MIDWAY)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index 8afe37b..f87311c 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -1,7 +1,7 @@
 obj-y += vexpress.o
 obj-$(CONFIG_ARM_32) += brcm.o
 obj-$(CONFIG_ARM_32) += exynos5.o
-obj-$(CONFIG_ARM_32) += midway.o
+obj-$(CONFIG_MIDWAY_PLATFORM)   += midway.o
 obj-$(CONFIG_OMAP5_PLATFORM)    += omap5.o
 obj-$(CONFIG_RCAR2_PLATFORM)    += rcar2.o
 obj-$(CONFIG_SEATTLE_PLATFORM)  += seattle.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®.