Use the Kconfig generated CONFIG_UART_EXYNOS4210 defines in the code base. CC: Ian Campbell <ian.campb...@citrix.com> CC: Ian Jackson <ian.jack...@eu.citrix.com> CC: Jan Beulich <jbeul...@suse.com> CC: Keir Fraser <k...@xen.org> CC: Tim Deegan <t...@xen.org> Signed-off-by: Doug Goldstein <car...@cardoe.com> Acked-by: Andrew Cooper <andrew.coop...@citrix.com> Tested-by: Andrew Cooper <andrew.coop...@citrix.com> --- config/arm32.mk | 1 - xen/arch/arm/configs/arm32_defconfig | 1 + xen/drivers/char/Kconfig | 7 +++++++ xen/drivers/char/Makefile | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/config/arm32.mk b/config/arm32.mk index 3bbdd2d..56b71d7 100644 --- a/config/arm32.mk +++ b/config/arm32.mk @@ -9,7 +9,6 @@ CONFIG_XEN_INSTALL_SUFFIX := # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: CFLAGS += -marm -HAS_EXYNOS4210 := y HAS_OMAP := y HAS_SCIF := y HAS_MEM_ACCESS := y diff --git a/xen/arch/arm/configs/arm32_defconfig b/xen/arch/arm/configs/arm32_defconfig index 61d6b5d..420602a 100644 --- a/xen/arch/arm/configs/arm32_defconfig +++ b/xen/arch/arm/configs/arm32_defconfig @@ -1,3 +1,4 @@ CONFIG_64BIT=n CONFIG_UART_NS16550=y CONFIG_UART_PL011=y +CONFIG_UART_EXYNOS4210=y diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig index 120525b..7262975 100644 --- a/xen/drivers/char/Kconfig +++ b/xen/drivers/char/Kconfig @@ -22,3 +22,10 @@ config UART_PL011 help This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have an Integrator/PP2, Integrator/CP or Versatile platform, say Y. + +config UART_EXYNOS4210 + bool "Samsung Exynos 4210 UART support" + depends on ARM_32 + help + This selects the Samsung Exynos 4210 UART. If you have a Samsung + Exynos based board, say Y. diff --git a/xen/drivers/char/Makefile b/xen/drivers/char/Makefile index 0adb3b7..ebea593 100644 --- a/xen/drivers/char/Makefile +++ b/xen/drivers/char/Makefile @@ -2,7 +2,7 @@ obj-y += console.o obj-$(CONFIG_UART_NS16550) += ns16550.o obj-$(CONFIG_UART_CADENCE) += cadence-uart.o obj-$(CONFIG_UART_PL011) += pl011.o -obj-$(HAS_EXYNOS4210) += exynos4210-uart.o +obj-$(CONFIG_UART_EXYNOS4210) += exynos4210-uart.o obj-$(HAS_OMAP) += omap-uart.o obj-$(HAS_SCIF) += scif-uart.o obj-$(HAS_EHCI) += ehci-dbgp.o -- 2.4.10 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel