7a306b301e92f3a1f795e237d43336eee5670738
[openwrt.git] / target / linux / lantiq / patches-4.4 / 0036-owrt-generic-dtb-image-hack.patch
1 From dba8578e06aedf1e67312ebfc6162e2fadc9448d Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 7 Aug 2014 18:32:12 +0200
4 Subject: [PATCH 36/36] owrt: generic dtb image hack
5
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 ---
8  arch/mips/kernel/head.S |    3 +++
9  1 file changed, 3 insertions(+)
10
11 --- a/arch/mips/kernel/head.S
12 +++ b/arch/mips/kernel/head.S
13 @@ -86,6 +86,9 @@ EXPORT(__image_cmdline)
14         .fill   0x400
15  #endif /* CONFIG_IMAGE_CMDLINE_HACK */
16  
17 +       .ascii  "OWRTDTB:"
18 +       EXPORT(__image_dtb)
19 +       .fill   0x4000
20         __REF
21  
22  NESTED(kernel_entry, 16, sp)                   # kernel entry point
23 --- a/arch/mips/lantiq/Kconfig
24 +++ b/arch/mips/lantiq/Kconfig
25 @@ -32,7 +32,6 @@ choice
26  config DT_EASY50712
27         bool "Easy50712"
28         depends on SOC_XWAY
29 -       select BUILTIN_DTB
30  endchoice
31  
32  config PCI_LANTIQ