qemu/hw/riscv
Dylan Jhong faee5441a0 hw/riscv: boot: Support 64bit fdt address.
The current riscv_load_fdt() forces fdt_load_addr to be placed at a dram address within 3GB,
but not all platforms have dram_base within 3GB.

This patch adds an exception for dram base not within 3GB,
which will place fdt at dram_end align 16MB.

riscv_setup_rom_reset_vec() also needs to be modified

Signed-off-by: Dylan Jhong <dylan@andestech.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220419115945.37945-1-dylan@andestech.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-04-22 10:35:16 +10:00
..
boot.c hw/riscv: boot: Support 64bit fdt address. 2022-04-22 10:35:16 +10:00
Kconfig hw/riscv: virt: Add optional AIA IMSIC support to virt machine 2022-03-03 13:14:50 +10:00
meson.build hw/riscv/Kconfig: Restrict NUMA to Virt & Spike machines 2021-07-20 15:32:49 +02:00
microchip_pfsoc.c hw/riscv: Use error_fatal for SoC realisation 2022-01-08 15:46:09 +10:00
numa.c hw: Do not include qemu/log.h if it is not necessary 2021-05-02 17:24:50 +02:00
opentitan.c riscv: opentitan: Connect opentitan SPI Host 2022-04-22 10:35:16 +10:00
riscv_hart.c hw/riscv: hart: Add a new 'resetvec' property 2020-09-09 15:54:18 -07:00
shakti_c.c hw/riscv: shakti_c: Use MachineState::ram and MachineClass::default_ram_id 2021-10-22 23:35:47 +10:00
sifive_e.c hw/riscv: Use error_fatal for SoC realisation 2022-01-08 15:46:09 +10:00
sifive_u.c hw/riscv: Use error_fatal for SoC realisation 2022-01-08 15:46:09 +10:00
spike.c hw/riscv: Remove macros for ELF BIOS image names 2022-01-21 15:52:57 +10:00
virt.c hw/riscv: virt: fix DT property mmu-type when CPU mmu option is disabled 2022-04-22 10:35:16 +10:00