On Mon, May 7, 2018 at 3:12 PM, Ley Foon Tan <[email protected]> wrote: > Change to use devfdt_get_addr_index() function to get fdt address. > > Original code has compilation warning below: > > drivers/spi/cadence_qspi.c: In function ‘cadence_spi_ofdata_to_platdata’: > drivers/spi/cadence_qspi.c:297:18: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > plat->regbase = (void *)data[0]; > ^ > drivers/spi/cadence_qspi.c:298:18: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > plat->ahbbase = (void *)data[2]; > ^ > Signed-off-by: Ley Foon Tan <[email protected]> > ---
Reviewed-by: Jagan Teki <[email protected]> Applied to u-boot-spi/master _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

