]> git.dujemihanovic.xyz Git - u-boot.git/commit
dtoc: Process driver aliases along with drivers
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:01:05 +0000 (06:01 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:27 +0000 (19:23 +1300)
commit8d6f2d359e7cf5a6960d55281ee378fac7db0bbb
tree7e6a57711a96363ca452ffe05705e78551fb9beb
parent735ddfc638bf3ffdf6888f5502bddbbfa6b3636e
dtoc: Process driver aliases along with drivers

Instead of using a separate step for this processing, handle it while
scanning its associated driver. This allows us to drop the code coverage
exception in this case.

Note that only files containing drivers are scanned by dtoc, so aliases
declared in a file that doesn't hold a driver will not be noticed. It
would be confusing to put them anywhere other than in the driver that they
relate to, but update the documentation to say this explicitly, just in
case.

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/driver-model/of-plat.rst
tools/dtoc/src_scan.py
tools/dtoc/test/dtoc_test_scan_drivers.cxx