u-boot/arch
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
..
arc Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
arm arm: Remove vital devices last 2021-02-03 03:38:41 -07:00
m68k common: board_r: Drop arch-specific ifdefs around initr_trap 2021-01-15 14:36:12 -05:00
microblaze microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00
mips mips: mtmips: add two reference boards for mt7620 2021-01-24 21:39:26 +01:00
nds32 arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
nios2 arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
powerpc common: board_r: Drop arch-specific ifdefs around initr_trap 2021-01-15 14:36:12 -05:00
riscv riscv: Adjust board_get_usable_ram_top() for 32-bit 2021-02-03 03:38:41 -07:00
sandbox sandbox: keep time offset when resetting 2021-01-30 14:25:42 -07:00
sh arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
x86 x86: tpl: Show next stage being booted 2021-02-01 15:33:25 +08:00
xtensa arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header 2021-01-05 12:24:40 -07:00
.gitignore
Kconfig linker_lists: Fix alignment issue 2020-12-18 20:32:21 -07:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00