[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCHv5] 22/28] build: convert HAS_EHCI use to Kconfig
Use the Kconfig generated CONFIG_UART_EHCI defines in the code base. CC: Keir Fraser <keir@xxxxxxx> CC: Jan Beulich <jbeulich@xxxxxxxx> CC: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx> --- xen/arch/x86/Kconfig | 1 + xen/arch/x86/Rules.mk | 1 - xen/drivers/char/Kconfig | 7 +++++++ xen/drivers/char/Makefile | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig index 01cfe69..90d3020 100644 --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -11,6 +11,7 @@ config X86 select HAS_CPUFREQ select HAS_PCI select UART_NS16550 + select UART_EHCI select HAS_GDBSX select HAS_PDX select HAS_KEXEC diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index c814a78..4bb6258 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -1,7 +1,6 @@ ######################################## # x86-specific definitions -HAS_EHCI := y HAS_CORE_PARKING := y xenoprof := y diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig index d5cc991..c5a40f2 100644 --- a/xen/drivers/char/Kconfig +++ b/xen/drivers/char/Kconfig @@ -43,3 +43,10 @@ config UART_SCIF help This selects the SuperH SCI(F) UART. If you have a SuperH based board, say Y. + +config UART_EHCI + bool "USB EHCI debug port support" + 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. diff --git a/xen/drivers/char/Makefile b/xen/drivers/char/Makefile index 68ebc2d..f45d453 100644 --- a/xen/drivers/char/Makefile +++ b/xen/drivers/char/Makefile @@ -5,6 +5,6 @@ obj-$(CONFIG_UART_PL011) += pl011.o obj-$(CONFIG_UART_EXYNOS4210) += exynos4210-uart.o obj-$(CONFIG_UART_OMAP) += omap-uart.o obj-$(CONFIG_UART_SCIF) += scif-uart.o -obj-$(HAS_EHCI) += ehci-dbgp.o +obj-$(CONFIG_UART_EHCI) += ehci-dbgp.o obj-$(CONFIG_ARM) += dt-uart.o obj-y += serial.o -- 2.4.10 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |