]> git.baikalelectronics.ru Git - uboot.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)
commit2ab6bcb70be5f12f233c0693a4e46a9f63e0e35f
treea58a58e381bde5a6a5333411ef078d2b3b00eb8c
parent1d5007806e9b50fc4521751f5e68b701c17b1b4a
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