lantiq: new image build process - fix kernel entry address
[openwrt.git] / target / linux / lantiq / patches-4.4 / 0121-MIPS-lantiq-make-it-possible-to-build-in-no-device-t.patch
1 From 8cfe01de7d5c974165c1383fcc9e1dad6953341d Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 19 Mar 2016 17:06:00 +0100
4 Subject: [PATCH 2/2] MIPS: lantiq: make it possible to build in no device tree
5
6 Now it is possible to build in no device tree at all and depend on the
7 boot loader providing one or someone concatenating a device tree to the
8 end of the image.
9
10 This was copied from arch/mips/bmips/Kconfig
11
12 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 ---
14  arch/mips/lantiq/Kconfig | 12 +++++++++++-
15  1 file changed, 11 insertions(+), 1 deletion(-)
16
17 --- a/arch/mips/lantiq/Kconfig
18 +++ b/arch/mips/lantiq/Kconfig
19 @@ -27,7 +27,17 @@ config SOC_FALCON
20  endchoice
21  
22  choice
23 -       prompt "Devicetree"
24 +       prompt "Built-in device tree"
25 +       help
26 +         Legacy bootloaders do not pass a DTB pointer to the kernel, so
27 +         if a "wrapper" is not being used, the kernel will need to include
28 +         a device tree that matches the target board.
29 +
30 +         The builtin DTB will only be used if the firmware does not supply
31 +         a valid DTB.
32 +
33 +config LANTIQ_DT_NONE
34 +       bool "None"
35  
36  config DT_EASY50712
37         bool "Easy50712"