summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/qca/Makefile
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2015-05-31 02:18:26 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-06-21 21:54:10 +0200
commita5fcc6522fd43acba09aa9ffca09872aaf02cd5e (patch)
tree9cb00fe0011b26a896fd8122308eefc807d698bd /arch/mips/boot/dts/qca/Makefile
parent9db8e9bc047beecf4a33fad22964419f10332fcb (diff)
MIPS: Add basic support for the TL-WR1043ND version 1
Add a DTS for TL-WR1043ND version 1 and allow to have it built in the kernel to circumvent the broken u-boot found on these boards. Currently only the UART, LEDs and buttons are supported. Signed-off-by: Alban Bedel <albeu@free.fr> Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts/qca/Makefile')
-rw-r--r--arch/mips/boot/dts/qca/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/qca/Makefile b/arch/mips/boot/dts/qca/Makefile
new file mode 100644
index 000000000000..2d61455d585d
--- /dev/null
+++ b/arch/mips/boot/dts/qca/Makefile
@@ -0,0 +1,11 @@
+# All DTBs
+dtb-$(CONFIG_ATH79) += ar9132_tl_wr1043nd_v1.dtb
+
+# Select a DTB to build in the kernel
+obj-$(CONFIG_DTB_TL_WR1043ND_V1) += ar9132_tl_wr1043nd_v1.dtb.o
+
+# Force kbuild to make empty built-in.o if necessary
+obj- += dummy.o
+
+always := $(dtb-y)
+clean-files := *.dtb *.dtb.S