diff options
| author | Dylan Jhong <dylan@andestech.com> | 2022-04-19 19:59:45 +0800 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2022-04-22 10:35:16 +1000 |
| commit | faee5441a038898f64b335dbaecab102ba406552 (patch) | |
| tree | 367c946d4c6b9f59f46b92f759307e8c5af75de9 /linux-user/nios2/cpu_loop.c | |
| parent | 013577de8f52fc64d77d1c13d69150b5902420d9 (diff) | |
| download | focaccia-qemu-faee5441a038898f64b335dbaecab102ba406552.tar.gz focaccia-qemu-faee5441a038898f64b335dbaecab102ba406552.zip | |
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>
Diffstat (limited to 'linux-user/nios2/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions