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)
commitc58662fc65046770506862de060c92312d8593b3
treeabc4812a63e4e04197fef1d49ec0484210ceb555
parent2a38e712652f678c9e6141f5d83bc4fdfafe161f
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