Support to load DTB after 3GB on RV64 system, so that larger initrd
doesn't be overlapped to DTB. Update initrd DT to support different
"#address-cells".

Verify the patch via running 4GB initramfs on the virt machine.

Jim Shu (2):
  hw/riscv: Support to load DTB after 3GB memory on 64-bit system.
  hw/riscv: Support different address-cells for initrd

 hw/riscv/boot.c            | 22 ++++++++++++++++++----
 hw/riscv/microchip_pfsoc.c |  4 ++--
 hw/riscv/sifive_u.c        |  4 ++--
 hw/riscv/spike.c           |  4 ++--
 hw/riscv/virt.c            |  2 +-
 include/hw/riscv/boot.h    |  2 +-
 6 files changed, 26 insertions(+), 12 deletions(-)

-- 
2.17.1


Reply via email to