ARM: i.MX: xload: Fix compiler warning
the ESDHC controller is a 32bit device, so can do DMA only on the
lower 32bit. Fix the compiler warning about casting a pointer to integer
of different size on aarch64 by casting to unsigned long first. Error
out if the destination does not fit into 32bit though.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 971ae3f commit 5dc9b00b9d7394bfed52e2843de1bc9870470625
@Sascha Hauer Sascha Hauer authored on 7 Jun 2018
Showing 1 changed file
View
arch/arm/mach-imx/xload-esdhc.c