Re: [PATCH v2 18/33] dtoc: Warn of duplicate drivers

2021-02-06 Thread Simon Glass
If drivers have the same name then we cannot distinguish them. This only matters if the driver is actually used by dtoc, but in that case, issue a warning. Signed-off-by: Simon Glass --- (no changes since v1) tools/dtoc/src_scan.py | 28 ++- tools/dtoc/test_src_scan.py | 95 ++

[PATCH v2 18/33] dtoc: Warn of duplicate drivers

2021-02-03 Thread Simon Glass
If drivers have the same name then we cannot distinguish them. This only matters if the driver is actually used by dtoc, but in that case, issue a warning. Signed-off-by: Simon Glass --- (no changes since v1) tools/dtoc/src_scan.py | 28 ++- tools/dtoc/test_src_scan.py | 95 ++