]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: don't support write & erase for SPL builds
authorPaul Burton <paul.burton@imgtec.com>
Mon, 9 Sep 2013 14:30:26 +0000 (15:30 +0100)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 20 Sep 2013 15:58:55 +0000 (18:58 +0300)
commitda61fa5f42133593be51764b55a905330eae5063
tree57ac9ecb88465aca1356174d9f597401cadcb3c2
parent8687d5c80c9b4d66b4c33e34ef8eb36cf93d9ec7
mmc: don't support write & erase for SPL builds

For SPL builds this is just dead code since we'll only need to read.
Eliminating it results in a significant size reduction for the SPL
binary, which may be critical for certain platforms where the binary
size is highly constrained.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
drivers/mmc/Makefile
drivers/mmc/mmc.c
drivers/mmc/mmc_private.h [new file with mode: 0644]
drivers/mmc/mmc_write.c [new file with mode: 0644]