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

[Xen-devel] [PATCH 1/6] arm: make it possible to disable more kconfig options



Make it possible to disable the following existing kconfig options:
  HAS_GICV3
  HAS_ARM_HDLCD
  HAS_MEM_ACCESS

Today they are silent option. This patch adds one line descriptions and
make them de/selectable.

Also, do not select VIDEO: make HAS_ARM_HDLCD select VIDEO instead. In
fact, VIDEO is only needed by HAS_ARM_HDLCD.

Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/arch/arm/Kconfig      | 15 +++++++++++----
 xen/drivers/video/Kconfig |  8 +++++++-
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 8174c0c..83963c8 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -12,17 +12,13 @@ config ARM_32
 config ARM_64
        def_bool y
        depends on 64BIT
-       select HAS_GICV3
 
 config ARM
        def_bool y
        select HAS_ALTERNATIVE
-       select HAS_ARM_HDLCD
        select HAS_DEVICE_TREE
-       select HAS_MEM_ACCESS
        select HAS_PASSTHROUGH
        select HAS_PDX
-       select VIDEO
 
 config ARCH_DEFCONFIG
        string
@@ -44,6 +40,17 @@ config ACPI
 
 config HAS_GICV3
        bool
+       prompt "GICv3 driver"
+       default y
+
+config HAS_MEM_ACCESS
+       bool
+       prompt "Memory Access and VM events"
+       default y
+       ---help---
+
+         Framework to configure memory access types for guests and receive
+         related events in userspace.
 
 config HAS_ITS
         bool
diff --git a/xen/drivers/video/Kconfig b/xen/drivers/video/Kconfig
index 52e8ce6..26daf9a 100644
--- a/xen/drivers/video/Kconfig
+++ b/xen/drivers/video/Kconfig
@@ -13,4 +13,10 @@ config VGA
          If unsure, say Y.
 
 config HAS_ARM_HDLCD
-       bool
+       bool "ARM HDLCD driver"
+       default n
+       select VIDEO
+       ---help---
+         Enable Xen video output to ARM HDLCD graphic controllers.
+
+         if unsure, say N.
-- 
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®.