]> git.dujemihanovic.xyz Git - u-boot.git/commit
expo: Tidy up the expo.py tool and usage
authorSimon Glass <sjg@chromium.org>
Mon, 14 Aug 2023 22:40:28 +0000 (16:40 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 25 Aug 2023 17:54:33 +0000 (13:54 -0400)
commitd5737b3f6a0239caf2dd5578a4bc8ebfccfdee3b
treee386f9e48e4b11213c1ae52634ed066f44e121af
parent8d0f890a0b9b0f7bf0b529f18f81a45ec6f64eb1
expo: Tidy up the expo.py tool and usage

Tidy up this tool a little:

- define which arguments are needed
- split the enum values out into a header file
- warn if no enum values are found
- display the dtc error if something goes wrong
- avoid a Python traceback on error

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/develop/expo.rst
test/boot/files/expo_ids.h [new file with mode: 0644]
test/boot/files/expo_layout.dts
test/py/tests/test_ut.py
tools/expo.py