[PATCH 6/6] arm: bootm: zImage: add error message when can not request the memory
Sascha Hauer
s.hauer at pengutronix.de
Sun Apr 15 12:30:40 EDT 2012
On Sat, Apr 14, 2012 at 06:02:23PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> This will allow to understand what happened.
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> arch/arm/lib/bootm.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
> index 26053dc..1e29afd 100644
> --- a/arch/arm/lib/bootm.c
> +++ b/arch/arm/lib/bootm.c
> @@ -239,6 +239,8 @@ static int do_bootz_linux(struct image_data *data)
>
> data->os_res = request_sdram_region("zimage", load_address, end);
> if (!data->os_res) {
> + pr_err("bootm/zImage: failled to request memory at 0x%lx to 0x%lx (%d).\n",
> + load_address, load_address + end, end);
s/failled/failed/
I applied the remaining patches from this series.
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 |
More information about the barebox
mailing list