summaryrefslogtreecommitdiff
path: root/cmd/mvebu/bubt.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-14 22:26:38 -0500
committerTom Rini <trini@konsulko.com>2018-01-14 22:26:38 -0500
commit3dde8f20377c3a051dda64497bdf0cdb23e03a2d (patch)
tree89d16fac9d2df2931a87e69cae60c757a475dcf7 /cmd/mvebu/bubt.c
parent18af965798153cea955773633feb05ed1647e9f6 (diff)
parentdb359efd5907edbeaea2e3eb3504729f60208cd8 (diff)
downloadu-boot-3dde8f20377c3a051dda64497bdf0cdb23e03a2d.tar.gz
Merge git://git.denx.de/u-boot-mmc
Diffstat (limited to 'cmd/mvebu/bubt.c')
-rw-r--r--cmd/mvebu/bubt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index a1997ac0d3..23fb8cd807 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;