qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

add qemu_fdt_setprop_strings() and use it in most places


From: Ben Dooks
Subject: add qemu_fdt_setprop_strings() and use it in most places
Date: Wed, 27 Jul 2022 23:39:00 +0100

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]