MIPS: ingenic: Use fw_passed_dtb even if CONFIG_BUILTIN_DTB
authorPaul Cercueil <paul@crapouillou.net>
Thu, 30 Jul 2020 16:12:31 +0000 (18:12 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 31 Jul 2020 15:48:19 +0000 (17:48 +0200)
commit199c5f080ed695c4b01236e06743a28952403d17
tree0c8440a4633944109f91d1919bf0fd4ba308ee97
parent37e5c69ffd4195c35aeb24978701f40ac82af7b1
MIPS: ingenic: Use fw_passed_dtb even if CONFIG_BUILTIN_DTB

The fw_passed_dtb is now properly initialized even when
CONFIG_BUILTIN_DTB is used, so there's no need to handle it in any
particular way here.

Note that the behaviour is slightly different, as the previous code used
the built-in Device Tree unconditionally, while now the built-in Device
Tree is only used when the bootloader did not provide one.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/jz4740/setup.c