|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 03/10] xen/arm: add SUNXI kconfig
Add a kconfig option for SUNXI platforms.
Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx>
CC: andre.przywara@xxxxxxx
CC: v1ne2go@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 62b528b..8337aa9 100644
--- a/xen/arch/arm/platforms/Kconfig
+++ b/xen/arch/arm/platforms/Kconfig
@@ -55,6 +55,13 @@ config THUNDERX
---help---
Enable all the required drivers for Cavium ThunderX
+config SUNXI
+ bool "Allwinner sunxi platforms"
+ select HAS_NS16550
+ ---help---
+ Enable all the required drivers for Allwinnder sunxi platforms,
+ including Pine64, OrangePi, CubieBoard, etc.
+
endchoice
config ALL64_PLAT
@@ -76,3 +83,7 @@ config XGENE_PLATFORM
config THUNDERX_PLATFORM
bool
default (ALL64_PLAT || THUNDERX)
+
+config SUNXI_PLATFORM
+ bool
+ default (ALL_PLAT || SUNXI)
diff --git a/xen/arch/arm/platforms/Makefile b/xen/arch/arm/platforms/Makefile
index bc35640..8e4c2ac 100644
--- a/xen/arch/arm/platforms/Makefile
+++ b/xen/arch/arm/platforms/Makefile
@@ -5,7 +5,7 @@ obj-$(CONFIG_ARM_32) += midway.o
obj-$(CONFIG_ARM_32) += omap5.o
obj-$(CONFIG_ARM_32) += rcar2.o
obj-$(CONFIG_ARM_64) += seattle.o
-obj-y += sunxi.o
+obj-$(CONFIG_SUNXI_PLATFORM) += sunxi.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
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |