]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Support reading a list of arguments
authorSimon Glass <sjg@chromium.org>
Tue, 8 Feb 2022 18:49:53 +0000 (11:49 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Feb 2022 17:05:44 +0000 (10:05 -0700)
commit826a37d5d92261bf952749ccca732608a41660e8
treefaaab66a3d2a9c78335b929e24dc8b39101974f8
parentfd43b0e706426a2f801029a317bc4dce13043da3
dtoc: Support reading a list of arguments

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

which can be passed to a program as arguments.

Add a helper to do the required processing.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/fdt_util.py
tools/dtoc/test/dtoc_test_simple.dts
tools/dtoc/test_fdt.py