u-boot/arch/riscv
Bin Meng 85c714d8dc riscv: Adjust board_get_usable_ram_top() for 32-bit
When testing QEMU RISC-V 'virt' machine with a 2 GiB memory
configuration, it was discovered gd->ram_top is assigned to
value zero in setup_dest_addr().

While gd->ram_top should not be declared as type `unsigned long`,
which will be updated in a future patch, the current logic in
board_get_usable_ram_top() can be updated to cover both 64-bit
and 32-bit RISC-V.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
2021-02-03 03:38:41 -07:00
..
cpu riscv: Adjust board_get_usable_ram_top() for 32-bit 2021-02-03 03:38:41 -07:00
dts riscv: dts: Add device tree for Microchip Icicle Kit 2021-01-18 11:06:38 +08:00
include/asm riscv: Add DMA 64-bit address support 2021-01-18 11:06:38 +08:00
lib Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig riscv: Add DMA 64-bit address support 2021-01-18 11:06:38 +08:00
Makefile riscv: add Kconfig entries for the code model 2018-12-18 09:56:26 +08:00