|
@@ -226,19 +226,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
|