[U-Boot-Users] [PATCH 8/9] [new uImage] Provide ability to restrict region used for boot images

Marian Balakowicz m8 at semihalf.com
Fri Feb 29 15:34:21 CET 2008


Kumar Gala wrote:
> 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 at kernel.crashing.org>

Acked-by: Marian Balakowicz <m8 at semihalf.com>

With the following note:

> +ulong getenv_bootm_size(void)
> +{
> +	char *s = getenv ("bootm_size");
> +	if (s) {
> +		ulong tmp = simple_strtoul (s, NULL, 16);
> +		return tmp;
> +	}
> +
> +	return gd->bd->bi_memsize;
> +}

bi_memsize use breaks ARM build. I have noticed that after I have
already pulled in you changes, merges with -rc2 and rebased my other
commits, so it would be good if you could have that fixed in a
separate patch.

m.




More information about the U-Boot mailing list