[PATCH] cmd: bind: Use device sequence instead for driver bind/unbind
Simon Glass
sjg at chromium.org
Tue Aug 6 23:50:43 CEST 2024
On Fri, 2 Aug 2024 at 03:31, Zixun LI <admin at hifiphile.com> wrote:
>
> Currently uclass index is used for bind/unbind which ignores alias
> sequence numbering. Use device sequence number instead as it's
> the number explicitly set in the DT.
>
> Also update documentation to use sequence number.
>
> Signed-off-by: Zixun LI <admin at hifiphile.com>
> ---
> cmd/bind.c | 46 ++++++++++++++++++++--------------------
> doc/usage/cmd/bind.rst | 12 +++++------
> doc/usage/cmd/unbind.rst | 14 ++++++------
> 3 files changed, 36 insertions(+), 36 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list