linux/arch/mips/netlogic
Rob Herring e1b77baed6 mips: xlp: copy built-in DTB out of init section
The existing code is buggy because built-in DTBs are in init memory.
It is also broken because the reserved bootmem was then freed after
unflattening, but the unflattened tree points to data in the flat tree.
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 <robh@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Tested-by: Grant Likely <grant.likely@linaro.org>
2014-04-30 00:55:59 -05:00
..
common mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
dts MIPS: Netlogic: Add default DTB for XLP9XX SoC 2014-01-24 22:39:50 +01:00
xlp mips: xlp: copy built-in DTB out of init section 2014-04-30 00:55:59 -05:00
xlr Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2014-01-30 17:20:32 -08:00
Kconfig MIPS: Netlogic: Add default DTB for XLP9XX SoC 2014-01-24 22:39:50 +01:00
Makefile MIPS: Netlogic: Add support for built in DTB 2012-08-22 23:46:37 +02:00
Platform MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00