diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-18 14:30:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-04-18 15:36:10 +0200 |
commit | 4e2a42766bb82e16faf2007b51d7ca2f063233a8 (patch) | |
tree | fe7739d9ef088e5a8f95efc0ee93fa3c41b40f98 /arch | |
parent | a2d2e8868fe3c963ebac634b695ae18bb4b411ca (diff) | |
download | barebox-4e2a42766bb82e16faf2007b51d7ca2f063233a8.tar.gz barebox-4e2a42766bb82e16faf2007b51d7ca2f063233a8.tar.xz |
arm: bootm: zImage: add error message when can not request the memory
This will allow to understand what happened.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | 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 26053dcdde..36f4342102 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: failed to request memory at 0x%lx to 0x%lx (%d).\n", + load_address, load_address + end, end); ret = -ENOMEM; goto err_out; } |