]> git.baikalelectronics.ru Git - uboot.git/commit
lib: elf: Move the generic elf loading/validating functions to lib
authorKeerthy <j-keerthy@ti.com>
Wed, 12 Feb 2020 08:25:03 +0000 (13:55 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 3 Mar 2020 07:38:14 +0000 (13:08 +0530)
commit5d0e1a79801942b17040e0c76b58e229ba1cfcce
tree9c1b7780a1a354313d421c7529802eece5c1a19c
parent02e2b1521dcc39ee6846ed2e18eaaf7e7a3574b2
lib: elf: Move the generic elf loading/validating functions to lib

Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.

While at it remove the duplicate static version of load_elf_image_phdr
under arch/arm/mach-imx/imx_bootaux.c.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Suggested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/mach-imx/imx_bootaux.c
cmd/Kconfig
cmd/elf.c
include/elf.h
lib/Kconfig
lib/Makefile
lib/elf.c [new file with mode: 0644]