]> git.baikalelectronics.ru Git - uboot.git/commit
SPI: SPL: sunxi: fix 64-bit build
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Feb 2017 01:20:25 +0000 (01:20 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
commit2358c5dfefedbbe7873233f507b8b910503e0f4a
tree274a7a7513e8505d9a0ea9af1ec3be550a1c5a16
parentbda32bf3df51e4e0e9a55bb2edd68615cc7cb0d2
SPI: SPL: sunxi: fix 64-bit build

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 <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sunxi_spi_spl.c