[PATCH 7/8] dtoc: Detect drivers which do not parse correctly
Simon Glass
sjg at chromium.org
Mon Jul 12 01:00:30 CEST 2021
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 <sjg at 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.lozano at collabora.com>
Thanks!
Walter
>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list