summaryrefslogtreecommitdiff
path: root/include/config_fallbacks.h
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-03-15 20:50:43 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-03-15 20:50:43 +0100
commitb27673ccbd3d5435319b5c09c3e7061f559f925d (patch)
tree24c58f5a1e950ec107f40690032ac89c62d3ad83 /include/config_fallbacks.h
parent6579d15c58e2b6b051f126ea8b77dd767252aa14 (diff)
parent477393e7875cf4261f107fdfb8887309ea7fc3f7 (diff)
Merge branch 'u-boot-tegra/master' into 'u-boot-arm/master'
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r--include/config_fallbacks.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
index bfb9680d68..9298d0ee97 100644
--- a/include/config_fallbacks.h
+++ b/include/config_fallbacks.h
@@ -26,4 +26,15 @@
#define CONFIG_EXT4_WRITE
#endif
+/* Rather than repeat this expression each time, add a define for it */
+#if defined(CONFIG_CMD_IDE) || \
+ defined(CONFIG_CMD_SATA) || \
+ defined(CONFIG_CMD_SCSI) || \
+ defined(CONFIG_CMD_USB) || \
+ defined(CONFIG_CMD_PART) || \
+ defined(CONFIG_MMC) || \
+ defined(CONFIG_SYSTEMACE)
+#define HAVE_BLOCK_DEVICE
+#endif
+
#endif /* __CONFIG_FALLBACKS_H */