From: Doug Goldstein Date: Tue, 15 Dec 2015 13:14:00 +0000 (+0100) Subject: build: convert HAS_EXYNOS4210 use to Kconfig X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=60e9b9670e13a6e3a492db5527c4f2ba706b493e;p=people%2Fjulieng%2Fxen-unstable.git build: convert HAS_EXYNOS4210 use to Kconfig Use the Kconfig generated CONFIG_HAS_EXYNOS4210 defines in the code base. Signed-off-by: Doug Goldstein Acked-by: Jan Beulich Acked-by: Ian Campbell --- diff --git a/config/arm32.mk b/config/arm32.mk index 3bbdd2d28b..56b71d71e9 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/drivers/char/Kconfig b/xen/drivers/char/Kconfig index e90104b272..8f72f6869a 100644 --- a/xen/drivers/char/Kconfig +++ b/xen/drivers/char/Kconfig @@ -22,3 +22,12 @@ config HAS_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. + +# Samsung Exynos 4210 UART support +config HAS_EXYNOS4210 + bool + default y + 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 df87594f5e..f8e7b44421 100644 --- a/xen/drivers/char/Makefile +++ b/xen/drivers/char/Makefile @@ -2,7 +2,7 @@ obj-y += console.o obj-$(CONFIG_HAS_NS16550) += ns16550.o obj-$(CONFIG_HAS_CADENCE_UART) += cadence-uart.o obj-$(CONFIG_HAS_PL011) += pl011.o -obj-$(HAS_EXYNOS4210) += exynos4210-uart.o +obj-$(CONFIG_HAS_EXYNOS4210) += exynos4210-uart.o obj-$(HAS_OMAP) += omap-uart.o obj-$(HAS_SCIF) += scif-uart.o obj-$(HAS_EHCI) += ehci-dbgp.o