[U-Boot] [PATCH V2 3/4] disk: define HAVE_BLOCK_DEVICE if CONFIG_CMD_PART

Simon Glass sjg at chromium.org
Sat Mar 2 20:03:15 CET 2013


On Thu, Feb 28, 2013 at 5:03 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> 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 at nvidia.com>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
> v2: New patch
> ---
>  include/config_fallbacks.h |    1 +
>  1 file changed, 1 insertion(+)
>
> 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
> --
> 1.7.10.4
>


More information about the U-Boot mailing list