Hi Walter,

On Wed, 22 Jul 2020 at 21:22, Walter Lozano <walter.loz...@collabora.com> wrote:
>
> Currently dtoc checks if the first compatible string in a dtb node
> matches either a driver o driver alias name, without taking into account

or

> any other compatible string in the list. In the case that no driver matches
> the first compatible string a warning is printed and the U_BOOT_DEVICE is
> not being declared correctly.
>
> This patch adds dtoc's support for try all the compatible strings in the
> dtb node, in an effort to find the correct driver.
>
> Signed-off-by: Walter Lozano <walter.loz...@collabora.com>
> ---
>
> (no changes since v1)
>
>  tools/dtoc/dtb_platdata.py       | 45 ++++++++++++++++----------------
>  tools/dtoc/dtoc_test_aliases.dts |  5 ++++
>  tools/dtoc/test_dtoc.py          | 20 +++++++++++---
>  3 files changed, 44 insertions(+), 26 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Applied to u-boot-dm, thanks!

Reply via email to