summaryrefslogtreecommitdiff
path: root/include/config_fallbacks.h
diff options
context:
space:
mode:
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 */