linux/arch/mips/boot/dts
Tiezhu Yang 9c43783c70 MIPS: DTS: Fix build errors used with various configs
If CONFIG_MIPS_MALTA is not set but CONFIG_LEGACY_BOARD_SEAD3 is set,
the subdir arch/mips/boot/dts/mti will not be built, so the sead3.dts
which depends on CONFIG_LEGACY_BOARD_SEAD3 in this subdir is also not
built, and then there exists the following build error, fix it.

  LD      .tmp_vmlinux.kallsyms1
arch/mips/generic/board-sead3.o:(.mips.machines.init+0x4): undefined reference to `__dtb_sead3_begin'
Makefile:1106: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Additionally, add CONFIG_FIT_IMAGE_FDT_BOSTON check for subdir img to
fix the following build error when CONFIG_MACH_PISTACHIO is not set but
CONFIG_FIT_IMAGE_FDT_BOSTON is set.

FATAL ERROR: Couldn't open "boot/dts/img/boston.dtb": No such file or directory

Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 41528ba6af ("MIPS: DTS: Only build subdir of current platform")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-05-28 09:35:47 +02:00
..
brcm arch: mips: brcm: Add 7425 flash-edu support 2020-03-11 16:21:35 +01:00
cavium-octeon treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
img treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ingenic MIPS: ingenic: Add support for GCW Zero prototype 2020-05-27 13:04:09 +02:00
lantiq MIPS: dts: Change upper case to lower case 2018-10-15 23:11:15 -07:00
loongson MIPS: DTS: Loongson64: Add PCI Controller Node 2020-05-27 12:53:44 +02:00
mscc MIPS: dts: mscc: Updated changed name for miim pinctrl function 2020-05-14 00:27:19 +02:00
mti MIPS: malta: Use img-ascii-lcd driver for LCD display 2018-11-20 21:05:39 -08:00
netlogic MIPS: dts: Avoid unneeded built-in.a in DTS dirs 2018-04-23 16:38:53 +01:00
ni treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pic32 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
qca MIPS: ath79: ar9331: rename uart to serial node 2020-05-15 09:33:46 +02:00
ralink MIPS: ralink: dts: gardena_smart_gateway_mt7688: Limit UART1 2020-01-14 16:02:34 -08:00
xilfpga MIPS: Use lower case for addresses in nexys4ddr.dts 2019-02-04 11:55:49 -08:00
Makefile MIPS: DTS: Fix build errors used with various configs 2020-05-28 09:35:47 +02:00