On 08/02/2022 21:49, Simon Glass wrote: > It is helpful to support a string or stringlist containing a list of > space-separated arguments, for example: > > args = "-n fred", "-a", "123"; > > This resolves to the list: > > -n fred -a 123
Would be clearer as ['-n', 'fred', '-a', '123'] > > which can be passed to a program as arguments. > > Add a helper to do the required processing. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > tools/dtoc/fdt_util.py | 12 ++++++++++++ > tools/dtoc/test/dtoc_test_simple.dts | 1 + > tools/dtoc/test_fdt.py | 15 +++++++++++++++ > 3 files changed, 28 insertions(+) > Applied to u-boot-dm, thanks!