]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Tidy up implementation of AddStringList()
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:18:56 +0000 (20:18 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commit3659cf898191259e2a0b8201369dbd17abb74757
treee12d94745e1f34c272cf88f6227efe20680c5781
parente68f50a510155ffb4edf1e2cc88d8d558aee92bf
dtoc: Tidy up implementation of AddStringList()

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>
tools/dtoc/fdt.py
tools/dtoc/fdt_util.py
tools/dtoc/test_fdt.py