diff options
author | Himbeer <himbeer@disroot.org> | 2024-07-31 17:41:21 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-07-31 17:41:21 +0200 |
commit | 430b4417387d5722004f5079f34ef734521d2396 (patch) | |
tree | a222a06d2f24f87d358a0aea7ba0e7306657e558 /arch/riscv/lib | |
parent | 0c023db4c0ca74664d384d01bf579bdffd84877a (diff) |
bootm: Fix ELF start address retrievalsbiboot
Diffstat (limited to 'arch/riscv/lib')
-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 4de67ab5..87b47545 100644 --- a/arch/riscv/lib/bootm.c +++ b/arch/riscv/lib/bootm.c @@ -198,7 +198,7 @@ static void boot_jump_linux(bootm_headers_t *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; |