summaryrefslogtreecommitdiff
path: root/include/remoteproc.h
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-09-15 10:45:07 -0400
committerTom Rini <trini@konsulko.com>2020-09-30 08:53:38 -0400
commitb608c54b522c04098ba34471beed214127672931 (patch)
treee3be0b6cf769a8aeaa2430bcfcf181619633a6f2 /include/remoteproc.h
parent0aeaca622a7caabe1a5d6f81f9c740ff9abd5cad (diff)
downloadu-boot-b608c54b522c04098ba34471beed214127672931.tar.gz
remoteproc: Remove unused function rproc_elf_sanity_check
This function is never used anywhere, and it also tries to log with a nonexistant device. Signed-off-by: Sean Anderson <seanga2@gmail.com> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include/remoteproc.h')
-rw-r--r--include/remoteproc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/remoteproc.h b/include/remoteproc.h
index a903acb9b2..74d01723f6 100644
--- a/include/remoteproc.h
+++ b/include/remoteproc.h
@@ -227,19 +227,6 @@ int rproc_elf32_sanity_check(ulong addr, ulong size);
int rproc_elf64_sanity_check(ulong addr, ulong size);
/**
- * rproc_elf_sanity_check() - Verify if an image is a valid ELF one
- *
- * Check if a valid ELF image exists at the given memory location. Auto
- * detects ELF32/ELF64 and verifies basic ELF64/ELF32 format requirements
- * like magic number and sections size.
- *
- * @addr: address of the image to verify
- * @size: size of the image
- * @return 0 if the image looks good, else appropriate error value.
- */
-int rproc_elf_sanity_check(ulong addr, ulong size);
-
-/**
* rproc_elf32_load_image() - load an ELF32 image
* @dev: device loading the ELF32 image
* @addr: valid ELF32 image address