On Tue, Oct 01, 2019 at 05:18:08PM +0200, Ahmad Fatoum wrote:
> STM32 images are preceded by a fixed-size 256 byte header, which is
> interpreted by the TF-A first stage bootloader and isn't executable
> as ARM code.
> 
> To maintain the ability to network boot them, add a bootm handler that
> skips the header.
> 
> Signed-off-by: Ahmad Fatoum <[email protected]>
> ---
>  arch/arm/mach-stm32mp/Makefile     |  2 +-
>  arch/arm/mach-stm32mp/stm32image.c | 50 ++++++++++++++++++++++++++++++
>  2 files changed, 51 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/mach-stm32mp/stm32image.c

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to