aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap-common/spl_mmc.c
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-10-21 11:43:36 -0600
committerJohn Rigby <john.rigby@linaro.org>2012-04-23 07:48:49 -0600
commitb66a9b6153290faaad01f777b4847d870e1c4657 (patch)
tree9462751c0aef3dd9c41a80cac562f76dd486f6cd /arch/arm/cpu/armv7/omap-common/spl_mmc.c
parenta7f6854becd5395bd422c1055dea50044234540d (diff)
downloadu-boot-linaro-stable-b66a9b6153290faaad01f777b4847d870e1c4657.tar.gz
OMAP4: Make mmc and fat conditional in spl
Size problems when trying to include usb, mmc and fat Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/spl_mmc.c')
-rw-r--r--arch/arm/cpu/armv7/omap-common/spl_mmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/spl_mmc.c b/arch/arm/cpu/armv7/omap-common/spl_mmc.c
index 6f5b43e55..4626ea4d7 100644
--- a/arch/arm/cpu/armv7/omap-common/spl_mmc.c
+++ b/arch/arm/cpu/armv7/omap-common/spl_mmc.c
@@ -83,6 +83,7 @@ end:
}
}
+#ifdef CONFIG_SPL_MMC_SUPPORT
static void mmc_load_image_fat(struct mmc *mmc)
{
s32 err;
@@ -147,3 +148,4 @@ void spl_mmc_load_image(void)
hang();
}
}
+#endif