]> git.sur5r.net Git - u-boot/commit
sf: Fix sf read for memory-mapped SPI flashes
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Mon, 27 May 2013 10:14:14 +0000 (10:14 +0000)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 2 Jun 2013 18:34:40 +0000 (00:04 +0530)
commit0d3b596aa35fd828f2147c6d3c86d4e2730f7b29
tree210d02e51d77aeb8764d380759d82ec88fd7e43b
parente4eaef8910df805d511b1cb9b2caafa7d2827fdc
sf: Fix sf read for memory-mapped SPI flashes

Missing return after memcpy is done for memory-mapped SPI flashes,
hence added retun 0 after memcpy done.

The return is missing in below patch
"sf: Enable FDT-based configuration and memory mapping"
(sha1: bb8215f437a7c948eec82a6abe754c226978bd6d)

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/spi_flash.c