u-boot/tools/dtoc
Simon Glass 930a3ddade dm: core: Support accessing core tags
At present tag numbers are only allocated for non-core data, meaning that
the 'core' data, like priv and plat, are accessed through dedicated
functions.

For debugging and consistency it is convenient to use tags for this 'core'
data too. Add support for this, with new tag numbers and functions to
access the pointer and size for each.

Update one of the test drivers so that the uclass-private data can be
tested here.

There is some code duplication with functions like device_alloc_priv() but
this is not addressed for now. At some point, some rationalisation may
help to reduce code size, but more thought it needed on that.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-06-28 03:09:52 +01:00
..
test dtoc: Make GetArgs() more flexible 2022-03-18 19:24:24 -06:00
__init__.py tools: Add init files for Python tools 2022-01-24 16:03:27 -05:00
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Fix up a code comment that confuses pylint 2022-01-24 16:03:27 -05:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
fdt_util.py dtoc: Tidy up implementation of AddStringList() 2022-03-18 19:24:25 -06:00
fdt.py dtoc: Tidy up implementation of AddStringList() 2022-03-18 19:24:25 -06:00
main.py patman: test_util: Use unittest text runner to print test results 2022-06-28 03:09:51 +01:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Detect drivers which do not parse correctly 2021-07-21 10:27:34 -06:00
test_dtoc.py dm: core: Support accessing core tags 2022-06-28 03:09:52 +01:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py patman: test_util: Use unittest text runner to print test results 2022-06-28 03:09:51 +01:00
test_src_scan.py dtoc: Update test_src_scan.py for new tegra compatibles 2022-06-14 13:59:23 -04:00