Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Lantiq: Make it possible to build in no device tree

Now it is possible to build in no device tree at all and depend on the
boot loader providing one or someone concatenating a device tree to the
end of the image.

This was copied from arch/mips/bmips/Kconfig

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12899/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Hauke Mehrtens and committed by
Ralf Baechle
e791dfb5 84f47cf4

+11 -1
+11 -1
arch/mips/lantiq/Kconfig
··· 25 25 endchoice 26 26 27 27 choice 28 - prompt "Devicetree" 28 + prompt "Built-in device tree" 29 + help 30 + Legacy bootloaders do not pass a DTB pointer to the kernel, so 31 + if a "wrapper" is not being used, the kernel will need to include 32 + a device tree that matches the target board. 33 + 34 + The builtin DTB will only be used if the firmware does not supply 35 + a valid DTB. 36 + 37 + config LANTIQ_DT_NONE 38 + bool "None" 29 39 30 40 config DT_EASY50712 31 41 bool "Easy50712"