[PATCH v2 05/33] dtoc: Collect priv/plat struct info from drivers
Simon Glass
sjg at chromium.org
Sun Feb 7 01:17:25 CET 2021
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 at chromium.org>
---
(no changes since v1)
tools/dtoc/src_scan.py | 25 +++++++++++++++++++++++--
tools/dtoc/test_src_scan.py | 32 ++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list