]> git.baikalelectronics.ru Git - kernel.git/commit
mips: octeon: convert to use unflatten_and_copy_device_tree
authorRob Herring <robh@kernel.org>
Wed, 2 Apr 2014 22:45:06 +0000 (17:45 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:55:53 +0000 (00:55 -0500)
commit369e071a21fc997f943ec25d39f2bb6747bde5b0
tree7a23d26671a91e8b392f88cd6bae660f3b643faf
parentbc1f2e05c7c87f6c5b43b4555c1e286a0b989960
mips: octeon: convert to use unflatten_and_copy_device_tree

The octeon FDT code can be simplified by using
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>
arch/mips/cavium-octeon/setup.c