This series unifies the linux loader for ARM64 & RISC-V. The linux loader
for ARM64 is pretty much arch independent. Thus, this series just moves
it to the common directory and update the make files.
This series is rebased on top of Ard's LoadFile2 series[1].
The unification effort was a little m
ARM64 linux loader code is written in such a way that it can be reused
across different architectures without much change. Move it to common
code so that RISC-V doesn't have to define a separate loader.
Reviewed-by: Daniel Kiper
Signed-off-by: Atish Patra
---
grub-core/Makefile.core.def
RISC-V doesn't have to do anything very different from other architectures
to loader EFI stub linux kernel. As a result, just use the common linux
loader instead of defining a RISC-V specific linux loader.
Signed-off-by: Atish Patra
---
grub-core/Makefile.core.def| 4 +--
grub-core/loader/r
Update the RISC-V Linux kernel image headers as per the current header.
Reference:
/Documentation/riscv/boot-image-header.rst
474efecb65dc: ("riscv: modify the Image header to improve compatibility with
the ARM64 header")
Acked-by: Heinrich Schuchardt
Signed-off-by: Atish Patra
---
include/g