Re: [U-Boot] [PATCH v2 08/13] SPI: SPL: sunxi: fix 64-bit build

2017-01-26 Thread Maxime Ripard
1;4601;0c On Wed, Jan 25, 2017 at 02:22:42AM +, 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. > > Si

[U-Boot] [PATCH v2 08/13] SPI: SPL: sunxi: fix 64-bit build

2017-01-24 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 Reviewed-by: Simon Glass --- drivers/mtd/spi/sunxi_sp