[PATCH v2 11/21] dtoc: Convert _drivers to a dict
Simon Glass
sjg at chromium.org
Mon Dec 28 17:25:37 CET 2020
At present this member holds a simple list of driver names. Update it to
be a dict of DriverInfo, with the name being the key. This will allow more
information to be added about each driver, in future patches.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Rename DriverInfo to Driver
- Add a test for the new code and a comment for Driver
tools/dtoc/dtb_platdata.py | 26 ++++++++++++++++++++++----
tools/dtoc/test_dtoc.py | 10 ++++++++++
2 files changed, 32 insertions(+), 4 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list