From: Rob Herring Date: Wed, 2 Apr 2014 22:50:19 +0000 (-0500) Subject: mips: lantiq: copy built-in DTB out of init section X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~21^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fbdaab3f51359c5377495b1ab0698bb8e64df9;p=pandora-kernel.git mips: lantiq: copy built-in DTB out of init section The existing code is buggy because built-in DTBs are in init memory. Fix this by using the unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Tested-by: Grant Likely --- Reading git-diff-tree failed