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

[Xen-devel] [PATCH v6 05/13] make it possible to enable/disable UART drivers



All the UART drivers are silent options. Add one line descriptions so
that can be de/selected via menuconfig.

Add an x86 dependency to HAS_EHCI: EHCI PCI has not been used on ARM. In
fact, it depends on PCI, and moreover we have drivers for several
embedded UARTs for various ARM boards.

NS16550 remains not selectable on x86.

Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Acked-by: Julien Grall <julien.grall@xxxxxxx>
---
Changes in v4:
- improve commit message
- remove prompt for HAS_EHCI

Changes in v3:
- NS16550 prompt if ARM

Changes in v2:
- make HAS_EHCI depend on x86
---
 xen/drivers/char/Kconfig | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig
index cc78ec3..b1f07f8 100644
--- a/xen/drivers/char/Kconfig
+++ b/xen/drivers/char/Kconfig
@@ -1,11 +1,11 @@
 config HAS_NS16550
-       bool
+       bool "NS16550 UART driver" if ARM
        default y
        help
          This selects the 16550-series UART support. For most systems, say Y.
 
 config HAS_CADENCE_UART
-       bool
+       bool "Xilinx Cadence UART driver"
        default y
        depends on ARM_64
        help
@@ -13,7 +13,7 @@ config HAS_CADENCE_UART
          based board, say Y.
 
 config HAS_MVEBU
-       bool
+       bool "Marvell MVEBU UART driver"
        default y
        depends on ARM_64
        help
@@ -21,7 +21,7 @@ config HAS_MVEBU
          based board, say Y.
 
 config HAS_PL011
-       bool
+       bool "ARM PL011 UART driver"
        default y
        depends on ARM
        help
@@ -29,7 +29,7 @@ config HAS_PL011
          an Integrator/PP2, Integrator/CP or Versatile platform, say Y.
 
 config HAS_EXYNOS4210
-       bool
+       bool "Samsung Exynos 4210 UART driver"
        default y
        depends on ARM_32
        help
@@ -37,7 +37,7 @@ config HAS_EXYNOS4210
          Exynos based board, say Y.
 
 config HAS_OMAP
-       bool
+       bool "Texas Instruments OMAP UART driver"
        default y
        depends on ARM_32
        help
@@ -45,7 +45,7 @@ config HAS_OMAP
          Instruments based CPU, say Y.
 
 config HAS_SCIF
-       bool
+       bool "SuperH SCI(F) UART driver"
        default y
        depends on ARM
        help
@@ -54,6 +54,7 @@ config HAS_SCIF
 
 config HAS_EHCI
        bool
+       depends on X86
        help
          This selects the USB based EHCI debug port to be used as a UART. If
          you have an x86 based system with USB, say Y.
-- 
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®.