scripts: imx-image: Add support for max_load_size option
When an image is loaded to SRAM we can normally only load a part of the
full image, limited by the available space in SRAM. We currently load
the pblb image which is the executable part of the PBL without the
compressed barebox payload. We are going to link the compressed barebox
image into the pbl image though, so we can't see the desired load size
from outside the image anymore.

This adds a max_load_size option to set this size explicitly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 363ffc7 commit 38a995509863505b1b13995d9ba318fc1224929e
@Sascha Hauer Sascha Hauer authored on 16 Nov 2018
Showing 3 changed files
View
arch/arm/mach-imx/include/mach/imx-header.h
View
scripts/imx/imx-image.c
View
scripts/imx/imx.c