On Wed, May 16, 2018 at 9:33 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote: > On Mon, May 7, 2018 at 3:12 PM, Ley Foon Tan <ley.foon....@intel.com> 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]; > > was this a coverage-tool check, I didn't see any warning with arm > compiler? make socfpga_arria5_defconfig && make
This error came up if compile with ARM 64bit (aarch64-linux-gnu-). Regards Ley Foon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot