diff options
Diffstat (limited to 'drivers/mmc/Makefile')
-rw-r--r-- | drivers/mmc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index 8e922db3f1..eaea8c3de8 100644 --- a/drivers/mmc/Makefile +++ b/drivers/mmc/Makefile @@ -44,7 +44,11 @@ obj-$(CONFIG_SH_SDHI) += sh_sdhi.o ifdef CONFIG_SPL_BUILD obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o +ifdef CONFIG_DUAL_BOOTLOADER +obj-y += mmc_write.o +else obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o +endif else obj-$(CONFIG_GENERIC_MMC) += mmc_write.o endif |