Re: [PATCH 09/24] dtoc: Support reading a list of arguments

2022-03-03 Thread Alper Nebi Yasak
On 24/02/2022 01:58, Simon Glass wrote: > On Tue, 15 Feb 2022 at 04:53, Alper Nebi Yasak > wrote: >>> diff --git a/tools/dtoc/fdt_util.py b/tools/dtoc/fdt_util.py >>> index 19eb13aef3..59e065884f 100644 >>> --- a/tools/dtoc/fdt_util.py >>> +++ b/tools/dtoc/fdt_util.py >>> @@ -184,6 +184,18 @@

Re: [PATCH 09/24] dtoc: Support reading a list of arguments

2022-02-23 Thread Simon Glass
Hi Alper, On Tue, 15 Feb 2022 at 04:53, Alper Nebi Yasak wrote: > > 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

Re: [PATCH 09/24] dtoc: Support reading a list of arguments

2022-02-22 Thread Simon Glass
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'] > >

Re: [PATCH 09/24] dtoc: Support reading a list of arguments

2022-02-15 Thread Alper Nebi Yasak
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'] >

[PATCH 09/24] dtoc: Support reading a list of arguments

2022-02-08 Thread Simon Glass
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.