]> git.dujemihanovic.xyz Git - u-boot.git/commit
dtoc: Collect priv/plat struct info from drivers
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:00:53 +0000 (06:00 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:27 +0000 (19:23 +1300)
commitc8b19b0694014ac4423558f4e65937791fd6d574
tree34e94be3da0159bf5501bd771e1e781f7a267a66
parent36b2220cbd62c7829b8e845777318f323a963e47
dtoc: Collect priv/plat struct info from drivers

In order to output variables to hold the priv/plat information used by
each device, dtoc needs to know the struct for each. With this, it can
declare this at build time:

   u8 xxx_priv [sizeof(struct <name>)];

Collect the various struct names from the drivers.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/src_scan.py
tools/dtoc/test_src_scan.py