On 7/4/21 3:19 PM, Simon Glass wrote: > At present if a driver is missing a uclass or compatible stirng, this Most probably it should be "string" > is silently ignored. This makes sense in most cases, particularly for > the compatible string, since it is not required except when the driver > is used with of-platdata. > > But it is also not very helpful. When there is some sort of problem > with a driver, the missing compatible string (for example) may be the > cause. > > Add a warning in this case, showing it only for drivers which are used > by the build. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > tools/dtoc/src_scan.py | 7 ++++++- > tools/dtoc/test_src_scan.py | 38 +++++++++++++++++++++++++++++++++++++ > 2 files changed, 44 insertions(+), 1 deletion(-)
Reviewed-by: Walter Lozano <walter.loz...@collabora.com> Thanks! Walter > Applied to u-boot-dm, thanks!