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

[Xen-devel] [PATCH v2 3/6] xen/arm: add RCAR2 kconfig



Add a kconfig option for Renesas Rcar2 platforms.

Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
Reviewed-by: Andrii Anisov <andrii_anisov@xxxxxxxx>
CC: iurii.konovalenko@xxxxxxxxxxxxxxx
---
 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 a43c938..e54825a 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -53,6 +53,13 @@ config SUNXI
        Enable all the required drivers for Allwinnder sunxi platforms,
        including Pine64, OrangePi, CubieBoard, etc.
 
+config RCAR2
+       bool "Renesas R-Car Gen2"
+       depends on ARM_32
+       select HAS_SCIF
+       ---help---
+       Enable all the required drivers for Renesas R-Car Gen2.
+
 endchoice
 
 config ALL64_PLAT
@@ -74,3 +81,7 @@ config THUNDERX_PLATFORM
 config SUNXI_PLATFORM
        bool
        default (ALL_PLAT || SUNXI)
+
+config RCAR2_PLATFORM
+       bool
+       default (ALL32_PLAT || RCAR2)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index aabf1d4..27cc383 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -3,7 +3,7 @@ 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_ARM_32) += rcar2.o
+obj-$(CONFIG_RCAR2_PLATFORM)    += rcar2.o
 obj-$(CONFIG_ARM_64) += seattle.o
 obj-$(CONFIG_SUNXI_PLATFORM)    += sunxi.o
 obj-$(CONFIG_ARM_64) += thunderx.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®.