Commit 4123c4ea23cd8b9f3313bccb6c2add87b06412a3

Authored by Stephen Warren
Committed by Tom Warren
1 parent 2c1af9dcdc

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/config_fallbacks.h
... ... @@ -31,6 +31,7 @@
31 31 defined(CONFIG_CMD_SATA) || \
32 32 defined(CONFIG_CMD_SCSI) || \
33 33 defined(CONFIG_CMD_USB) || \
  34 + defined(CONFIG_CMD_PART) || \
34 35 defined(CONFIG_MMC) || \
35 36 defined(CONFIG_SYSTEMACE)
36 37 #define HAVE_BLOCK_DEVICE