[U-Boot] [PATCH] blk: Rework guard around part_init call

Simon Glass sjg at chromium.org
Tue Dec 11 01:03:41 UTC 2018


On Sun, 25 Nov 2018 at 10:37, Tom Rini <trini at konsulko.com> wrote:
>
> The function part_init() will only be built when we have both
> CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set.  Protect the call to
> this function with both of these tests now.
>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  drivers/block/blk-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Yes I think we need this for now.

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


More information about the U-Boot mailing list