openrisc: use unflatten_and_copy_device_tree
authorRob Herring <rob.herring@calxeda.com>
Mon, 26 Aug 2013 16:23:50 +0000 (11:23 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 9 Oct 2013 16:38:04 +0000 (11:38 -0500)
commit3486892f998fea5b4f1a0a4d093f09b7d0024696
tree3daa4d3a8066395a616ec25fdc84a8113d31a1e8
parent1efc959e0b28942d69d3084ecd4e9bde3beb9866
openrisc: use unflatten_and_copy_device_tree

Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section. This moves the copy later in the boot, but there
do not appear to be any references to strings in the FDT before the copy.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: linux@lists.openrisc.net
arch/openrisc/kernel/prom.c
arch/openrisc/kernel/setup.c