metag: use unflatten_and_copy_device_tree
authorRob Herring <rob.herring@calxeda.com>
Wed, 28 Aug 2013 02:39:46 +0000 (21:39 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 9 Oct 2013 16:38:06 +0000 (11:38 -0500)
commit08854f41809293b283b96c642562cd4119d6b5db
treea47068630950ca37c1456b075bed9fd0beae69b2
parent3104021c12747df63843fedf3ceb6a54410e2c18
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>
arch/metag/kernel/devtree.c
arch/metag/kernel/setup.c