riscv: provide a flat image loader
This allows just loading the kernel at a pre-set address without qemu going bonkers trying to map the ELF file. Contains a contribution from Aurabindo Jayamohanan to reuse the PAGE_OFFSET definition. Signed-off-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NAnup Patel <anup@brainfault.org> [paul.walmsley@sifive.com: fixed checkpatch issue; minor commit message fix] Signed-off-by: NPaul Walmsley <paul.walmsley@sifive.com>
Showing
arch/riscv/boot/loader.S
0 → 100644
arch/riscv/boot/loader.lds.S
0 → 100644
想要评论请 注册 或 登录