aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-10-21 11:43:36 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-12-18 22:25:16 -0700
commite85ace5a5137c73fe17a31add75136a5fa6dc274 (patch)
tree9ffef66959cd750bdeb3cc77fbad532018de034b /include
parentdd11134286d2a1d2dede3b90375f18fdc65a1682 (diff)
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 'include')
-rw-r--r--include/configs/omap4_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index a64a57dff..97b520097 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -301,8 +301,10 @@
#define CONFIG_SPL_LIBCOMMON_SUPPORT
#define CONFIG_SPL_LIBDISK_SUPPORT
#define CONFIG_SPL_I2C_SUPPORT
+#ifndef CONFIG_USB_SPL
#define CONFIG_SPL_MMC_SUPPORT
#define CONFIG_SPL_FAT_SUPPORT
+#endif
#define CONFIG_SPL_LIBGENERIC_SUPPORT
#define CONFIG_SPL_SERIAL_SUPPORT
#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"