]> git.ipfire.org Git - people/ms/u-boot.git/commit
move booti_setup to arch/arm/lig/image.c
authorBin Chen <bin.chen@linaro.org>
Sat, 27 Jan 2018 05:59:09 +0000 (16:59 +1100)
committerTom Rini <trini@konsulko.com>
Thu, 8 Feb 2018 03:06:11 +0000 (22:06 -0500)
commit6808ef9ac2a66a261bf341a99c3edb1e69f1cbdd
tree06c6405823dc4510fe08da28adb05e516420711b
parent104816142f9c6a4c8c164e7541a3424bcf5e8e91
move booti_setup to arch/arm/lig/image.c

Follow bootz's pattern by moving the booti_setup to arch/arm/lib.
This allows to use booti_setup in other paths, e.g booting
an Android image containing Image format.

Note that kernel relocation is move out of booti_setup and it is the
caller's responsibility to do it and allows them do it differently. say,
cmd/booti.c just do a manually, while in the bootm path, we can use
bootm_load_os(with some changes).

Signed-off-by: Bin Chen <bin.chen@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/lib/Makefile
arch/arm/lib/image.c [new file with mode: 0644]
cmd/booti.c
include/image.h