diff options
-rw-r--r-- | board/freescale/common/fman.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/common/fman.c b/board/freescale/common/fman.c index 26cf5175c7..b5025ab14e 100644 --- a/board/freescale/common/fman.c +++ b/board/freescale/common/fman.c @@ -52,6 +52,8 @@ int fdt_set_phy_handle(void *fdt, char *compat, phys_addr_t addr, if (!ph) return -FDT_ERR_BADPHANDLE; + ph = cpu_to_fdt32(ph); + offset = fdt_node_offset_by_compat_reg(fdt, compat, addr); if (offset < 0) return offset; |