[PATCH 1/3] bootm: move ARM64 Linux image parsing to common directory

Sascha Hauer sha at pengutronix.de
Fri May 7 00:28:38 PDT 2021


On Tue, May 04, 2021 at 12:45:11PM +0200, Ahmad Fatoum wrote:
> Linux on RISC-V adopts the same structure as on ARM64 for both 32-
> and 64-bit kernel images and it's likely future architectures will
> as well. In preparation for adding RISC-V Linux boot support,
> move the bulk of the code to a common location for reusability.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  arch/arm/lib64/armlinux.c | 74 +++------------------------------------
>  common/Makefile           |  2 +-
>  common/booti.c            | 66 ++++++++++++++++++++++++++++++++++
>  include/bootm.h           |  2 ++
>  4 files changed, 74 insertions(+), 70 deletions(-)
>  create mode 100644 common/booti.c

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list