Skip to content

Commit f262b5f

Browse files
abresticralfbaechle
authored andcommitted
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>
1 parent 3229a6d commit f262b5f

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎arch/mips/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ config MIPS_SEAD3
353353
bool "MIPS SEAD3 board"
354354
select BOOT_ELF32
355355
select BOOT_RAW
356+
select BUILTIN_DTB
356357
select CEVT_R4K
357358
select CSRC_R4K
358359
select CSRC_GIC

‎arch/mips/boot/dts/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb
22
dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb
3+
dtb-$(CONFIG_MIPS_SEAD3) += sead3.dtb
34

45
obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
56

‎arch/mips/mti-sead3/Makefile‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,5 @@ obj-y += sead3-i2c-dev.o sead3-i2c.o \
1919

2020
obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o
2121
obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o
22-
obj-$(CONFIG_OF) += sead3.dtb.o
2322

2423
CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt
25-
26-
$(obj)/%.dtb: $(obj)/%.dts
27-
$(call if_changed,dtc)

0 commit comments

Comments
 (0)