]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:36 +0000 (00:47 +0200)
commit300788e34701d094b3976bfebd518af08b296e99
treed030134b0460e460ac773334524e70acdd3d74ee
parentf2959ab21524e4694357c8affe384ab6cc61ed47
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