powerpc/85xx: use fdt_create_phandle() to create the Fman firmware phandles
authorTimur Tabi <timur@freescale.com>
Tue, 20 Sep 2011 23:24:36 +0000 (18:24 -0500)
committerGerald Van Baren <gvb@unssw.com>
Sat, 15 Oct 2011 13:35:15 +0000 (09:35 -0400)
commita2c1229c39e39d9a5ff90055d78b8de061943097
tree71c2c28699ddddcf64d9873bd162fa4960a23c98
parent50bf17bd15d439b183a29bdb453b65217cfbef3b
powerpc/85xx: use fdt_create_phandle() to create the Fman firmware phandles

Function fdt_create_phandle() conveniently creates new phandle properties
using both "linux,phandle" and "phandle", so it should be used by all code
that wants to create a phandle.

The Fman firmware code, which embeds an Fman firmware into the device tree,
was creating the phandle properties manually.  Instead, change it to use
fdt_create_phandle().

Signed-off-by: Timur Tabi <timur@freescale.com>
arch/powerpc/cpu/mpc85xx/fdt.c