[PATCH v3 05/26] dtoc: Tidy up implementation of AddStringList()

Simon Glass sjg at chromium.org
Sat Mar 19 01:00:26 CET 2022


Hi,

On Sat, 5 Mar 2022 at 20:19, Simon Glass <sjg at chromium.org> wrote:
>
> Refactor this to avoid a loop. Also add a test for an empty string.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Suggested-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
> Reviewed-by: Alper Nebi Yasak <alpernebiyasak at 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


More information about the U-Boot mailing list