diff options
author | Rob Herring | 2013-08-28 04:39:46 +0200 |
---|---|---|
committer | Rob Herring | 2013-10-09 18:38:06 +0200 |
commit | 08854f41809293b283b96c642562cd4119d6b5db (patch) | |
tree | a47068630950ca37c1456b075bed9fd0beae69b2 /arch/metag/kernel/setup.c | |
parent | xtensa: use unflatten_and_copy_device_tree (diff) | |
download | kernel-qcow2-linux-08854f41809293b283b96c642562cd4119d6b5db.tar.gz kernel-qcow2-linux-08854f41809293b283b96c642562cd4119d6b5db.tar.xz kernel-qcow2-linux-08854f41809293b283b96c642562cd4119d6b5db.zip |
metag: use unflatten_and_copy_device_tree
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/kernel/setup.c')
-rw-r--r-- | arch/metag/kernel/setup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c index c396cd0b425f..2c697d343088 100644 --- a/arch/metag/kernel/setup.c +++ b/arch/metag/kernel/setup.c @@ -408,9 +408,7 @@ void __init setup_arch(char **cmdline_p) cpu_2_hwthread_id[smp_processor_id()] = hard_processor_id(); hwthread_id_2_cpu[hard_processor_id()] = smp_processor_id(); - /* Copy device tree blob into non-init memory before unflattening */ - copy_fdt(); - unflatten_device_tree(); + unflatten_and_copy_device_tree(); #ifdef CONFIG_SMP smp_init_cpus(); |