diff options
author | Himbeer <himbeer@disroot.org> | 2024-07-31 17:36:34 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-07-31 17:36:34 +0200 |
commit | 69e95b21d976ab9b8074fbecab099634469cd5d2 (patch) | |
tree | 582d5b16a67c762b12da3e2edac008e4909821ad | |
parent | d26ff134643d87b69ddf5b6f300df53337d62dce (diff) |
bootm: Fix ELF start address retrievalsbiboot
-rw-r--r-- | arch/riscv/lib/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c index 9044bccda9..3950a61b9d 100644 --- a/arch/riscv/lib/bootm.c +++ b/arch/riscv/lib/bootm.c @@ -112,7 +112,7 @@ static void boot_jump_linux(struct bootm_headers *images, int flag) static int boot_jump_elf(struct bootm_headers *images, int flag) { - unsigned long addr = images->ep; + unsigned long addr = images->os.image_start; ulong (*entry)(int, char * const[]); void (*sbi)(ulong hart, void *dtb, struct fw_dynamic_info *p); unsigned long initrd_len = images->initrd_end - images->initrd_start; |