summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-xburst/Makefile
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-05-07 12:51:25 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-08 09:37:20 +0200
commit2d4cf6d95deae61f0d55ec7a8c2b746ebd4e2c1b (patch)
tree558d52d661c6534334af400a88502f1743c4b5db /arch/mips/mach-xburst/Makefile
parenta7ae099b365295202c2ce02b396e1d9c79a13c67 (diff)
downloadbarebox-2d4cf6d95deae61f0d55ec7a8c2b746ebd4e2c1b.tar.gz
barebox-2d4cf6d95deae61f0d55ec7a8c2b746ebd4e2c1b.tar.xz
MIPS: xburst: use common serial code
The Ingenic JZ4740, JZ4755 and JZ4770 SoCs use the same IP core for UART interface. This IP core is NS16550-compatible, but it needs small workaround. This commit moves the UART code for Ingenic SoCs from board level to machine level. So the code can be reused for different boards or even different SoCs. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-xburst/Makefile')
-rw-r--r--arch/mips/mach-xburst/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mach-xburst/Makefile b/arch/mips/mach-xburst/Makefile
index e5634ba9cc..3e0cd7324e 100644
--- a/arch/mips/mach-xburst/Makefile
+++ b/arch/mips/mach-xburst/Makefile
@@ -1 +1,2 @@
+obj-y += serial.o
obj-$(CONFIG_CPU_JZ4755) += csrc-jz4750.o reset-jz4750.o