Files
erofs-linux/arch/riscv/boot/loader.S
T
Christoph Hellwig 405fe7aa0d 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: Christoph Hellwig <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
[[email protected]: fixed checkpatch issue; minor commit
 message fix]
Signed-off-by: Paul Walmsley <[email protected]>
2019-11-17 15:17:39 -08:00

9 lines
143 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0 */
.align 4
.section .payload, "ax", %progbits
.globl _start
_start:
.incbin "arch/riscv/boot/Image"