]> git.baikalelectronics.ru Git - kernel.git/commitdiff
MIPS: Lantiq: Make it possible to build in no device tree
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Mar 2016 17:28:52 +0000 (18:28 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:44 +0000 (14:01 +0200)
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>
arch/mips/lantiq/Kconfig

index e10d33342b30209c816d7ee929ce11a894531f89..177769dbb0e85df724bd5da31951a46bfe544842 100644 (file)
@@ -25,7 +25,17 @@ config SOC_FALCON
 endchoice
 
 choice
-       prompt "Devicetree"
+       prompt "Built-in device tree"
+       help
+         Legacy bootloaders do not pass a DTB pointer to the kernel, so
+         if a "wrapper" is not being used, the kernel will need to include
+         a device tree that matches the target board.
+
+         The builtin DTB will only be used if the firmware does not supply
+         a valid DTB.
+
+config LANTIQ_DT_NONE
+       bool "None"
 
 config DT_EASY50712
        bool "Easy50712"