]> git.dujemihanovic.xyz Git - u-boot.git/commit
dtoc: Make GetArgs() more flexible
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:18:52 +0000 (20:18 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:24 +0000 (19:24 -0600)
commit61012538184540b60b35eeb8e5654bfbcd0dbf32
treea58a58e381bde5a6a5333411ef078d2b3b00eb8c
parent04fce6ff705c455241a180495043c8cd4c4ad81e
dtoc: Make GetArgs() more flexible

At present it is not possible to have arguments which include spaces.
Update the function to only split the args if the property is a single
string. This is a bit inconsistent, but might still be useful.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Suggested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/dtoc/fdt_util.py
tools/dtoc/test/dtoc_test_simple.dts
tools/dtoc/test_fdt.py