
19 Mar
2022
19 Mar
'22
1 a.m.
Hi,
On Sat, 5 Mar 2022 at 20:19, Simon Glass sjg@chromium.org wrote:
Refactor this to avoid a loop. Also add a test for an empty string.
Signed-off-by: Simon Glass sjg@chromium.org Suggested-by: Alper Nebi Yasak alpernebiyasak@gmail.com Reviewed-by: Alper Nebi Yasak alpernebiyasak@gmail.com
Changes in v3:
- Add tests for an empty string/stringlist too
Changes in v2:
- Add new patch to tidy up implementation of AddStringList()
tools/dtoc/fdt.py | 4 +--- tools/dtoc/test_fdt.py | 8 ++++++++ 2 files changed, 9 insertions(+), 3 deletions(-)
This is actually missing the changes in fdt_util.py so I will add that back when applying. Alper, I think you noticed this.
Regards, Simon