aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-02-28 15:03:47 +0000
committerTom Warren <twarren@nvidia.com>2013-03-14 11:06:45 -0700
commit4123c4ea23cd8b9f3313bccb6c2add87b06412a3 (patch)
treef9320ad359660edba862929eb47167dff259e4ce
parent2c1af9dcdcf4ede8d153c0918beca9067ec0eb36 (diff)
downloadu-boot-4123c4ea23cd8b9f3313bccb6c2add87b06412a3.zip
u-boot-4123c4ea23cd8b9f3313bccb6c2add87b06412a3.tar.gz
u-boot-4123c4ea23cd8b9f3313bccb6c2add87b06412a3.tar.bz2
disk: define HAVE_BLOCK_DEVICE if CONFIG_CMD_PART
Various code that is conditional upon HAVE_BLOCK_DEVICE is required by code conditional upon CONFIG_CMD_PART. So, enable HAVE_BLOCK_DEVICE if CONFIG_CMD_PART is enabled. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Tom Rini <trini@ti.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--include/config_fallbacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
index 653ff2b..9298d0e 100644
--- a/include/config_fallbacks.h
+++ b/include/config_fallbacks.h
@@ -31,6 +31,7 @@
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