]> git.dujemihanovic.xyz Git - u-boot.git/commit
remoteproc: elf_loader: Introduce rproc_elf_get_boot_addr() api
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 4 Sep 2019 10:31:31 +0000 (16:01 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:07:34 +0000 (10:07 -0400)
commit81e39fbd9251bfbef3bc156735e95b67cd7a828f
treee5b8fa24f4dab9809992280ddb9f7c11c08ea40a
parent856c0ad413f52d20963ef6b0fe982a0ca91086f2
remoteproc: elf_loader: Introduce rproc_elf_get_boot_addr() api

Introduce rproc_elf_get_boot_addr() that returns the entry point of
the elf file. This api auto detects the 64/32 bit elf file and returns
the boot addr accordingly.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/remoteproc/rproc-elf-loader.c
include/remoteproc.h
test/dm/remoteproc.c