diff options
author | Stefan Roese <sr@denx.de> | 2015-06-29 14:58:09 +0200 |
---|---|---|
committer | Luka Perkov <luka.perkov@sartura.hr> | 2015-07-10 14:54:05 +0200 |
commit | 492d3223b076a9705b64897a061b60720f50d18b (patch) | |
tree | 3455f430d9b228e1e49cf8afd4ee1d021b141cf7 /arch | |
parent | 29905a451b7ecf86785a4404e926fb14a8daced3 (diff) | |
download | u-boot-imx-492d3223b076a9705b64897a061b60720f50d18b.zip u-boot-imx-492d3223b076a9705b64897a061b60720f50d18b.tar.gz u-boot-imx-492d3223b076a9705b64897a061b60720f50d18b.tar.bz2 |
mmc: sdhci.c: Add config option to use a fixed buffer for transfers
While implementing SDIO/MMC SPL booting for the Marvell Armada 38x, the
following problem occured. The SPL runs in internal SRAM which is
the L2 cache locked to memory. When the MMC buffers now are located
on the stack (or bss), the SDIO controller (SDHCI) can't write into
this L2 cache memory.
This patch introduces a method to use a fixed buffer that will be
used for all transfers by defining CONFIG_FIXED_SDHCI_ALIGNED_BUFFER.
This way, the board can use this buffer address located in SDRAM
for all transfers. This solves this SPL problem on the A38x and
should only be used in the SPL U-Boot version.
Tested for SPL booting on Marvell Armada 38x DB-88F6820-GP board.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions