Re: [U-Boot] [PATCH 06/12] SPI: SPL: sunxi: fix 64-bit build

2017-01-19 Thread Simon Glass
On 15 January 2017 at 05:17, Rask Ingemann Lambertsen wrote: > On Fri, Jan 13, 2017 at 01:29:58AM +, Andre Przywara wrote: >> Addresses passed on to readl and writel are expected to be of the same >> size as a pointer. Change the parameter types of sunxi_spi0_read_data() >> to make the compile

Re: [U-Boot] [PATCH 06/12] SPI: SPL: sunxi: fix 64-bit build

2017-01-15 Thread Rask Ingemann Lambertsen
On Fri, Jan 13, 2017 at 01:29:58AM +, Andre Przywara wrote: > Addresses passed on to readl and writel are expected to be of the same > size as a pointer. Change the parameter types of sunxi_spi0_read_data() > to make the compiler happy and allow a warning-free aarch64 compile. > > Signed-off-b

[U-Boot] [PATCH 06/12] SPI: SPL: sunxi: fix 64-bit build

2017-01-12 Thread Andre Przywara
Addresses passed on to readl and writel are expected to be of the same size as a pointer. Change the parameter types of sunxi_spi0_read_data() to make the compiler happy and allow a warning-free aarch64 compile. Signed-off-by: Andre Przywara --- drivers/mtd/spi/sunxi_spi_spl.c | 16 -