mmc: add a Kconfig option to enable the support for MMC write operations
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 4 Jan 2018 14:23:32 +0000 (15:23 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:24 +0000 (18:11 +0900)
commitd6400c3f8520bb9a203fe397039279c80f093c27
tree4b6aa1319eefc5fb45162cede548c951902d12f6
parent58a6fb7b04963d1bf353b66e27f3084037babd6c
mmc: add a Kconfig option to enable the support for MMC write operations

This allows using CONFIG_IS_ENABLED(MMC_WRITE) to compile out code
needed only if write support is required.
The option is added for u-boot and for SPL

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
cmd/mvebu/bubt.c
common/spl/Kconfig
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc_private.h