Use the Kconfig generated CONFIG_HAS_PL011 defines in the code base.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
CFLAGS += -marm
-HAS_PL011 := y
HAS_EXYNOS4210 := y
HAS_OMAP := y
HAS_SCIF := y
CFLAGS += #-marm -march= -mcpu= etc
-HAS_PL011 := y
HAS_MEM_ACCESS := y
HAS_GICV3 := y
help
This selects the Xilinx Zynq Cadence UART. If you have a Xilinx Zynq
based board, say Y.
+
+# ARM AMBA PL011 UART support
+config HAS_PL011
+ bool
+ default y
+ depends on ARM
+ help
+ This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
+ an Integrator/PP2, Integrator/CP or Versatile platform, say Y.
obj-y += console.o
obj-$(CONFIG_HAS_NS16550) += ns16550.o
obj-$(CONFIG_HAS_CADENCE_UART) += cadence-uart.o
-obj-$(HAS_PL011) += pl011.o
+obj-$(CONFIG_HAS_PL011) += pl011.o
obj-$(HAS_EXYNOS4210) += exynos4210-uart.o
obj-$(HAS_OMAP) += omap-uart.o
obj-$(HAS_SCIF) += scif-uart.o