[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add qemu_fdt_setprop_strings() and use it in most places
From: |
Ben Dooks |
Subject: |
Re: add qemu_fdt_setprop_strings() and use it in most places |
Date: |
Wed, 27 Jul 2022 23:48:39 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Jul 27, 2022 at 11:39:00PM +0100, Ben Dooks wrote:
> Add a helper for qemu_fdt_setprop_strings() to take a set of strings
> to put into a device-tree, which removes several open-coded methods
> such as setting an char arr[] = {..} or setting char val[] = "str\0str2";
>
> This is for hw/arm, hw/mips and hw/riscv as well as a couple of cores. It
> is not fully tested over all of those, I may not have caught all places
> this is to be replaced.
I've added a branch at
https://github.com/bendooks/qemu.git dev/fdt-string-array
--
Ben Dooks, ben@fluff.org, http://www.fluff.org/ben/
Large Hadron Colada: A large Pina Colada that makes the universe disappear.
- add qemu_fdt_setprop_strings() and use it in most places, Ben Dooks, 2022/07/27
- [PATCH v3 3/5] hw/core: use qemu_fdt_setprop_strings(), Ben Dooks, 2022/07/27
- [PATCH v3 1/5] device_tree: add qemu_fdt_setprop_strings() helper, Ben Dooks, 2022/07/27
- [PATCH v3 4/5] hw/mips: use qemu_fdt_setprop_strings(), Ben Dooks, 2022/07/27
- [PATCH v3 2/5] hw/riscv: use qemu_fdt_setprop_strings() for string arrays, Ben Dooks, 2022/07/27
- [PATCH v3 5/5] hw/arm: change to use qemu_fdt_setprop_strings(), Ben Dooks, 2022/07/27
- Re: add qemu_fdt_setprop_strings() and use it in most places,
Ben Dooks <=