Re: [PATCH v2 3/7] device_tree: add qemu_fdt_setprop_string_array helper

2021-02-16 Thread David Gibson
On Thu, Feb 11, 2021 at 05:19:41PM +, Alex Bennée wrote: > A string array in device tree is simply a series of \0 terminated > strings next to each other. As libfdt doesn't support that directly > we need to build it ourselves. Hm, that might not make a bad extension to libfdt... > > Signed-

[PATCH v2 3/7] device_tree: add qemu_fdt_setprop_string_array helper

2021-02-11 Thread Alex Bennée
A string array in device tree is simply a series of \0 terminated strings next to each other. As libfdt doesn't support that directly we need to build it ourselves. Signed-off-by: Alex Bennée Reviewed-by: Alistair Francis Message-Id: <20201105175153.30489-4-alex.ben...@linaro.org> --- v2 - ch