hw/riscv/boot.c: Support 64-bit address for initrd
authorCheng Yang <yangcheng.work@foxmail.com>
Mon, 1 Apr 2024 07:51:22 +0000 (15:51 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 3 Jun 2024 01:12:11 +0000 (11:12 +1000)
commit039003995047b2f7911142c7c5cfb845fda044fd
treec78a8f4105fd521da7a64af13fd1e307a403a90c
parenta6b53378f537a51355a49826b7d119698c74ffba
hw/riscv/boot.c: Support 64-bit address for initrd

Use qemu_fdt_setprop_u64() instead of qemu_fdt_setprop_cell()
to set the address of initrd in FDT to support 64-bit address.

Signed-off-by: Cheng Yang <yangcheng.work@foxmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <tencent_A4482251DD0890F312758FA6B33F60815609@qq.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/boot.c