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

[Xen-devel] [PATCH v2 4/6] xen/arm: add OMAP5 kconfig



Add a kconfig option for TI OMAP5 platforms.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
Reviewed-by: Andrii Anisov <andrii_anisov@xxxxxxxx>
CC: baozich@xxxxxxxxx
---
 xen/arch/arm/platforms/Kconfig  | 11 +++++++++++
 xen/arch/arm/platforms/Makefile |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
index e54825a..6486bf6 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -60,6 +60,13 @@ config RCAR2
        ---help---
        Enable all the required drivers for Renesas R-Car Gen2.
 
+config OMAP5
+       bool "TI OMAP5 platforms"
+       depends on ARM_32
+       select HAS_OMAP
+       ---help---
+       Enable all the required drivers for TI OMAP5 based platforms.
+
 endchoice
 
 config ALL64_PLAT
@@ -85,3 +92,7 @@ config SUNXI_PLATFORM
 config RCAR2_PLATFORM
        bool
        default (ALL32_PLAT || RCAR2)
+
+config OMAP5_PLATFORM
+       bool
+       default (ALL32_PLAT || OMAP5)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index 27cc383..190a744 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -2,7 +2,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_ARM_32) += omap5.o
+obj-$(CONFIG_OMAP5_PLATFORM)    += omap5.o
 obj-$(CONFIG_RCAR2_PLATFORM)    += rcar2.o
 obj-$(CONFIG_ARM_64) += seattle.o
 obj-$(CONFIG_SUNXI_PLATFORM)    += sunxi.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®.