From: Stephen Warren Date: Thu, 28 Feb 2013 15:03:47 +0000 (+0000) Subject: disk: define HAVE_BLOCK_DEVICE if CONFIG_CMD_PART X-Git-Tag: v2013.04-rc2~24^2^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4123c4ea23cd8b9f3313bccb6c2add87b06412a3;p=oweals%2Fu-boot.git 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 Acked-by: Simon Glass Acked-by: Tom Rini Signed-off-by: Tom Warren --- diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 653ff2b388..9298d0ee97 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