[U-Boot] [RFC PATCH 05/12] dm: add DM_FLAG_BOUND flag

Simon Glass sjg at chromium.org
Thu Jul 9 02:22:55 CEST 2015


Hi Masahiro,

On 7 July 2015 at 22:29, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
> Currently, we only have DM_FLAG_ACTIVATED to indicate the device
> status, but we still cannot know in which stage is in progress,
> binding or probing.
>
> This commit introduces a new flag, DM_FLAG_BOUND, which is set when
> the device is really bound, and cleared when it is unbound.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Under what situation does a device exist without being bound? Binding
is supposed to be the act of creating the device.

OK I see after reading the rest of the patches that we might use
devm_alloc() during the bind process and want to track that. I guess
this is OK.

Regards,
Simon


More information about the U-Boot mailing list