[PATCH v2 02/33] dtoc: Scan drivers for available information

Simon Glass sjg at chromium.org
Sun Feb 7 01:17:29 CET 2021


At present we simply record the name of a driver parsed from its
implementation file. We also need to get the uclass and a few other
things so we can instantiate devices at build time. Add support for
collecting this information. This requires parsing each driver file.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 tools/dtoc/src_scan.py      | 194 ++++++++++++++++++++++++++++++++++--
 tools/dtoc/test_src_scan.py | 131 +++++++++++++++++++++++-
 2 files changed, 311 insertions(+), 14 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list