]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence_qspi: move the sram partition in init
authorVikas Manocha <vikas.manocha@st.com>
Fri, 3 Jul 2015 01:29:43 +0000 (18:29 -0700)
committerJagan Teki <jteki@openedev.com>
Fri, 3 Jul 2015 08:20:53 +0000 (13:50 +0530)
commitc0535c0ef0b7e7a3e4c1011266bf26baf94fd4a3
treeffa0ce2c9717d78de86cb47bd0ca32f0522712e0
parent51d558392bc71f9cfb58ce5ea70975dee6bf6292
spi: cadence_qspi: move the sram partition in init

There is no need to re-configure sram partition for every read/write for
better full use of sram for read or write. This patch divides the half
sram for read & half for write once at initialization.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Tested-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jagannadh Teki <jteki@openedev.com>
drivers/spi/cadence_qspi_apb.c