]> git.sur5r.net Git - u-boot/commit
spi: cadence_qspi: get sram size from device tree
authorVikas Manocha <vikas.manocha@st.com>
Fri, 3 Jul 2015 01:29:44 +0000 (18:29 -0700)
committerJagan Teki <jteki@openedev.com>
Fri, 3 Jul 2015 08:20:53 +0000 (13:50 +0530)
commit90a2f7171182f3b96c28b2dcff67b02a3164cdb1
treedfd0eb215dab5e1c4ea8c8d1a7eeb0d977013c84
parentc0535c0ef0b7e7a3e4c1011266bf26baf94fd4a3
spi: cadence_qspi: get sram size from device tree

sram size could be different on different socs, e.g. on stv0991 it is 256 while
on altera platform it is 128. It is better to receive it from device tree.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Tested-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jagannadh Teki <jteki@openedev.com>
arch/arm/dts/socfpga.dtsi
arch/arm/dts/stv0991.dts
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h
drivers/spi/cadence_qspi_apb.c