diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-08-21 16:04:24 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-09-22 07:35:50 -0400 |
commit | f262b5f2d5820799fd58ae08eee4ec3fc97686ab (patch) | |
tree | b8069292326deb14e3d12d1331d48968478cb0f3 /arch/mips | |
parent | 3229a6d865d78152fb2a25aa0cf97e1904cf18d8 (diff) |
MIPS: sead3: Move device-trees to arch/mips/boot/dts/
Move the SEAD-3 device-tree to arch/mips/boot/dts/ and update the
Makefiles accordingly. Since SEAD-3 requires the device-tree to be
built into the kernel, select BUILTIN_DTB when building for SEAD-3.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: David Daney <david.daney@cavium.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jayachandran C <jchandra@broadcom.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7555/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 1 | ||||
-rw-r--r-- | arch/mips/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/boot/dts/sead3.dts (renamed from arch/mips/mti-sead3/sead3.dts) | 0 | ||||
-rw-r--r-- | arch/mips/mti-sead3/Makefile | 4 |
4 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a77ba5b81f61..d7c8bd4e2f0e 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -353,6 +353,7 @@ config MIPS_SEAD3 | |||
353 | bool "MIPS SEAD3 board" | 353 | bool "MIPS SEAD3 board" |
354 | select BOOT_ELF32 | 354 | select BOOT_ELF32 |
355 | select BOOT_RAW | 355 | select BOOT_RAW |
356 | select BUILTIN_DTB | ||
356 | select CEVT_R4K | 357 | select CEVT_R4K |
357 | select CSRC_R4K | 358 | select CSRC_R4K |
358 | select CSRC_GIC | 359 | select CSRC_GIC |
diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile index 4f265ec447eb..8df3d3ef0a85 100644 --- a/arch/mips/boot/dts/Makefile +++ b/arch/mips/boot/dts/Makefile | |||
@@ -1,5 +1,6 @@ | |||
1 | dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb | 1 | dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb |
2 | dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb | 2 | dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb |
3 | dtb-$(CONFIG_MIPS_SEAD3) += sead3.dtb | ||
3 | 4 | ||
4 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | 5 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) |
5 | 6 | ||
diff --git a/arch/mips/mti-sead3/sead3.dts b/arch/mips/boot/dts/sead3.dts index e4b317d414f1..e4b317d414f1 100644 --- a/arch/mips/mti-sead3/sead3.dts +++ b/arch/mips/boot/dts/sead3.dts | |||
diff --git a/arch/mips/mti-sead3/Makefile b/arch/mips/mti-sead3/Makefile index 071786fa234b..febf4334545e 100644 --- a/arch/mips/mti-sead3/Makefile +++ b/arch/mips/mti-sead3/Makefile | |||
@@ -19,9 +19,5 @@ obj-y += sead3-i2c-dev.o sead3-i2c.o \ | |||
19 | 19 | ||
20 | obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o | 20 | obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o |
21 | obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o | 21 | obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o |
22 | obj-$(CONFIG_OF) += sead3.dtb.o | ||
23 | 22 | ||
24 | CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt | 23 | CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt |
25 | |||
26 | $(obj)/%.dtb: $(obj)/%.dts | ||
27 | $(call if_changed,dtc) | ||