hw/riscv: virt: Switch to use qemu_fdt_setprop_string_array() helper
commit2cc04550ac222237b979b5a45679ff746fc99a46
authorBin Meng <bin.meng@windriver.com>
Fri, 30 Apr 2021 07:12:56 +0000 (30 15:12 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 7 Jun 2021 23:59:42 +0000 (8 09:59 +1000)
tree41f011c1a8cf7156832ece8dde4ab553fc8f1a85
parentcb53b283b5adf4123273d07eee5e186e2e0a1b5b
hw/riscv: virt: Switch to use qemu_fdt_setprop_string_array() helper

Since commit 78da6a1bca22 ("device_tree: add qemu_fdt_setprop_string_array helper"),
we can use the new helper to set the compatible strings for the
SiFive test device node.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-2-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/virt.c