diff options
author | Walter Lozano | 2020-07-23 00:22:03 -0300 |
---|---|---|
committer | Simon Glass | 2020-07-28 19:30:39 -0600 |
commit | dcb3ed642bce02ea9d7d7ef8a0a6f656f4fc4f2a (patch) | |
tree | f083d6bc34daa71d5c2a101ee6a9b5d29263fae2 /drivers | |
parent | 6e31458435ac499611a205c67a83be25098135b3 (diff) |
dtoc: look for compatible string aliases in driver list
Currently dtoc checks if the first compatible string in a dtb node
matches either a driver o driver alias name, without taking into account
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.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions