driver/fm: fdt.c: fix fdt_fixup_fman_firmware() to support ARM platforms
authorQianyu Gong <qianyu.gong@nxp.com>
Thu, 18 Feb 2016 05:02:01 +0000 (13:02 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 24 Feb 2016 16:51:13 +0000 (08:51 -0800)
commit6fc9535f397bace13324546f070e40979ac03d13
tree527570b6fac3415cce4113c9779ebb59c4587786
parent075affb1ac0cc72e4d599df5f39bd40389312d6a
driver/fm: fdt.c: fix fdt_fixup_fman_firmware() to support ARM platforms

Use fdt32_to_cpu() to convert the data correctly for both endianness
platforms.

Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fm/fdt.c