commit | 368fa55d041be0f8e84f3da15b8908a53600c1b1 | [log] [tgz] |
---|---|---|
author | Shaohui Xie <Shaohui.Xie@freescale.com> | Tue Nov 10 19:20:16 2015 +0800 |
committer | York Sun <yorksun@freescale.com> | Sun Dec 13 18:27:28 2015 -0800 |
tree | 66bdf60b2cb7762ee7bb105208015b36d4d3a7f3 | |
parent | db389774509e951590b0f004ef3ea94acb08b374 [diff] |
freescale: fman: make sure phy-handle property is big endian When creating phy-handle property, an unsigned int value is created by fdt_create_phandle, and memcpy is used to get the value, since DTS is big endian, the value cannot be used directly on little endian SoCs, it should be converted by cpu_to_fdt32. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>