]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Scan drivers for available information
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:00:50 +0000 (06:00 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:26 +0000 (19:23 +1300)
commit3737a0beb397f4752ab2af32decfe6bd6298f285
treeabc4812a63e4e04197fef1d49ec0484210ceb555
parentb6918b835d67f53e5b254fd20d617845f164526e
dtoc: Scan drivers for available information

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@chromium.org>
tools/dtoc/src_scan.py
tools/dtoc/test_src_scan.py