]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
disk: define HAVE_BLOCK_DEVICE if CONFIG_CMD_PART
authorStephen Warren <swarren@nvidia.com>
Thu, 28 Feb 2013 15:03:47 +0000 (15:03 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:45 +0000 (11:06 -0700)
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>
include/config_fallbacks.h

index 653ff2b38842a86643f8fdcac84df530d4be7be4..9298d0ee970892ed2a5355837a045dadc2f5cfa4 100644 (file)
@@ -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