diff options
author | Jean-Jacques Hiblot | 2018-01-04 15:23:32 +0100 |
---|---|---|
committer | Jaehoon Chung | 2018-01-12 18:11:24 +0900 |
commit | d6400c3f8520bb9a203fe397039279c80f093c27 (patch) | |
tree | 4b6aa1319eefc5fb45162cede548c951902d12f6 /cmd/mvebu/bubt.c | |
parent | 58a6fb7b04963d1bf353b66e27f3084037babd6c (diff) |
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>
Diffstat (limited to 'cmd/mvebu/bubt.c')
-rw-r--r-- | cmd/mvebu/bubt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index a1997ac0d34..23fb8cd8074 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -110,7 +110,7 @@ static ulong get_load_addr(void) /******************************************************************** * eMMC services ********************************************************************/ -#ifdef CONFIG_DM_MMC +#if CONFIG_IS_ENABLED(DM_MMC) && CONFIG_IS_ENABLED(MMC_WRITE) static int mmc_burn_image(size_t image_size) { struct mmc *mmc; |