linux-stable/arch/mips/netlogic/xlp
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
..
cop2-ex.c MIPS: Netlogic: COP2 save/restore code 2013-06-13 17:46:41 +02:00
dt.c mips: xlp: copy built-in DTB out of init section 2014-04-30 00:55:59 -05:00
Makefile MIPS: Netlogic: Add support for USB on XLP2xx 2013-09-03 23:22:20 +02:00
nlm_hal.c MIPS: Netlogic: XLP9XX USB support 2014-01-24 22:39:49 +01:00
setup.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2014-01-30 17:20:32 -08:00
usb-init-xlp2.c MIPS: Netlogic: XLP9XX USB support 2014-01-24 22:39:49 +01:00
usb-init.c MIPS: Netlogic: Add support for USB on XLP2xx 2013-09-03 23:22:20 +02:00
wakeup.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00