[new uImage] Provide ability to restrict region used for boot images

Allow the user to set 'bootm_low' and 'bootm_size' env vars as a way
to restrict what memory range is used for bootm.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Marian Balakowicz <m8@semihalf.com>
This commit is contained in:
Kumar Gala
2008-02-27 21:51:50 -06:00
committed by Marian Balakowicz
parent e822d7fc4d
commit d3f2fa0d27
5 changed files with 60 additions and 8 deletions

View File

@@ -57,12 +57,14 @@ void do_bootm_linux(cmd_tbl_t * cmdtp, int flag,
int ret;
ulong cmd_start, cmd_end;
ulong bootmap_base = 0;
ulong bootmap_base;
bd_t *kbd;
ulong ep = 0;
void (*kernel) (bd_t *, ulong, ulong, ulong, ulong);
struct lmb *lmb = images->lmb;
bootmap_base = getenv_bootm_low();
/*
* Booting a (Linux) kernel image
*