RISC-V: load initrd wherever it fits into memory
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 29 Jun 2021 13:40:18 +0000 (15:40 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 22 Jul 2021 05:58:17 +0000 (22:58 -0700)
commitc79e89ecaa246c880292ba68cbe08c9c30db77e3
tree25dd2f9a5bb824a8f235ead1d6241253ae3f2bf0
parent444818b599189fd8b6c814da542ff8cfc9fe67d4
RISC-V: load initrd wherever it fits into memory

Requiring that initrd is loaded below RAM start + 256 MiB led to failure
to boot SUSE Linux with GRUB on QEMU, cf.
https://lists.gnu.org/archive/html/grub-devel/2021-06/msg00037.html

Remove the constraint.

Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Fixes: d7071743db31 ("RISC-V: Add EFI stub support.")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/efi.h