spi: fsl_qspi: Fix issues on arm64
authorYuan Yao <yao.yuan@nxp.com>
Tue, 15 Mar 2016 06:36:40 +0000 (14:36 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 May 2016 15:50:48 +0000 (08:50 -0700)
commitbf9bffa9784411ba743b127adc031bcb6e27735d
treefecf19419eb7b5c5aee606d572fca1112962da09
parentf13c99c2a265d0586702523fab56a3562de31f86
spi: fsl_qspi: Fix issues on arm64

The address value and size value get from dts "reg" property have
type of u64 on arm64. If we assign those values to "u32" variables,
driver can't work correctly. Converting the type of those variables
to fdt_xxx_t.

Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/spi/fsl_qspi.c