summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel/setup.c
diff options
context:
space:
mode:
authorRob Herring2013-08-26 18:23:50 +0200
committerRob Herring2013-10-09 18:38:04 +0200
commit3486892f998fea5b4f1a0a4d093f09b7d0024696 (patch)
tree3daa4d3a8066395a616ec25fdc84a8113d31a1e8 /arch/openrisc/kernel/setup.c
parentarc: use unflatten_and_copy_device_tree (diff)
downloadkernel-qcow2-linux-3486892f998fea5b4f1a0a4d093f09b7d0024696.tar.gz
kernel-qcow2-linux-3486892f998fea5b4f1a0a4d093f09b7d0024696.tar.xz
kernel-qcow2-linux-3486892f998fea5b4f1a0a4d093f09b7d0024696.zip
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
Diffstat (limited to 'arch/openrisc/kernel/setup.c')
-rw-r--r--arch/openrisc/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/kernel/setup.c b/arch/openrisc/kernel/setup.c
index 719c5c8895c4..09a769b69572 100644
--- a/arch/openrisc/kernel/setup.c
+++ b/arch/openrisc/kernel/setup.c
@@ -283,7 +283,7 @@ void __init setup_arch(char **cmdline_p)
{
unsigned long max_low_pfn;
- unflatten_device_tree();
+ unflatten_and_copy_device_tree();
setup_cpuinfo();