mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 06:42:56 +00:00
85c714d8dc
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> |
||
---|---|---|
.. | ||
ax25 | ||
fu540 | ||
generic | ||
cpu.c | ||
Makefile | ||
mtrap.S | ||
start.S | ||
u-boot-spl.lds | ||
u-boot.lds |