aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/riscv/boot/loader.S (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-11-17riscv: provide a flat image loaderChristoph Hellwig1-0/+8
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: Christoph Hellwig <hch@lst.de> Reviewed-by: Anup Patel <anup@brainfault.org> [paul.walmsley@sifive.com: fixed checkpatch issue; minor commit message fix] Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>