riscv: hw: Use qemu_fdt_setprop_cell() for property with only 1 cell
commit04e7edd108308b03f8066f4385fd317aa620ea70
authorBin Meng <bmeng.cn@gmail.com>
Fri, 6 Sep 2019 16:19:51 +0000 (6 09:19 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 17 Sep 2019 15:42:44 +0000 (17 08:42 -0700)
tree0f8055fcf86ea4c9875226f0bfa6412abd8bdaad
parent24e398d06b42e3340be2c7ab54856802b82a1788
riscv: hw: Use qemu_fdt_setprop_cell() for property with only 1 cell

Some of the properties only have 1 cell so we should use
qemu_fdt_setprop_cell() instead of qemu_fdt_setprop_cells().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/sifive_u.c
hw/riscv/virt.c