aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-11 17:49:57 +0000
committerJohn Crispin <john@openwrt.org>2014-09-11 17:49:57 +0000
commit18b5d72d834b1a4fb3c7daa2fab9f449ff55b1c1 (patch)
tree9055eb556a99fb07f30d3217fe2fdd60b51ca72c /target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch
parent5920eac8eeba0d689c7af9389aea2e2f46eec9ce (diff)
downloadupstream-18b5d72d834b1a4fb3c7daa2fab9f449ff55b1c1.tar.gz
upstream-18b5d72d834b1a4fb3c7daa2fab9f449ff55b1c1.tar.bz2
upstream-18b5d72d834b1a4fb3c7daa2fab9f449ff55b1c1.zip
lantiq: update 3.14 patches
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42476
Diffstat (limited to 'target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch')
-rw-r--r--target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch b/target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch
new file mode 100644
index 0000000000..fba8bb3ad5
--- /dev/null
+++ b/target/linux/lantiq/patches-3.14/0036-owrt-generic-dtb-image-hack.patch
@@ -0,0 +1,27 @@
+From dba8578e06aedf1e67312ebfc6162e2fadc9448d Mon Sep 17 00:00:00 2001
+From: John Crispin <blogic@openwrt.org>
+Date: Thu, 7 Aug 2014 18:32:12 +0200
+Subject: [PATCH 36/36] owrt: generic dtb image hack
+
+Signed-off-by: John Crispin <blogic@openwrt.org>
+---
+ arch/mips/kernel/head.S | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S
+index 7b6a5b3..78518b8 100644
+--- a/arch/mips/kernel/head.S
++++ b/arch/mips/kernel/head.S
+@@ -101,6 +101,9 @@ FEXPORT(__kernel_entry)
+ j kernel_entry
+ #endif
+
++ .ascii "OWRTDTB:"
++ EXPORT(__image_dtb)
++ .fill 0x4000
+ __REF
+
+ NESTED(kernel_entry, 16, sp) # kernel entry point
+--
+1.7.10.4
+