[PATCH 1/1] dm: fix logic of lists_bind_fdt()
Simon Glass
sjg at chromium.org
Tue Jul 12 12:58:53 CEST 2022
Hi Heinrich,
On Mon, 11 Jul 2022 at 00:25, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> If parameter drv of lists_bind_fdt() is specified, we shall bind only to
> this very driver and to no other.
>
> If the driver drv has an of_match property, we shall only bind to the
> driver if it matches the compatible string of the device.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> drivers/core/lists.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Any chance of a test for this case?
Regards,
Simon
More information about the U-Boot
mailing list