Since this is an execuable we should be able insert symbol values into it.
Add support for this.

Use common code for this test and the original testSymbols. Use hex
consistently for the values and add some more comments.

Signed-off-by: Simon Glass <s...@chromium.org>
---

Changes in v3:
- Add new patch to support symbols in u-boot-spl-nodtb

 tools/binman/README.entries             |  9 +++++
 tools/binman/etype/u_boot_spl_nodtb.py  | 14 +++++++
 tools/binman/ftest.py                   | 49 +++++++++++++++----------
 tools/binman/test/053_symbols.dts       |  2 +-
 tools/binman/test/192_symbols_nodtb.dts | 26 +++++++++++++
 tools/binman/test/u_boot_binman_syms.c  |  2 +-
 6 files changed, 81 insertions(+), 21 deletions(-)
 create mode 100644 tools/binman/test/192_symbols_nodtb.dts

Applied to u-boot-dm/next, thanks!

Reply via email to