From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marian Balakowicz Date: Fri, 29 Feb 2008 15:34:21 +0100 Subject: [U-Boot-Users] [PATCH 8/9] [new uImage] Provide ability to restrict region used for boot images In-Reply-To: <1204170711-2057-9-git-send-email-galak@kernel.crashing.org> References: <1204170711-2057-1-git-send-email-galak@kernel.crashing.org> <1204170711-2057-2-git-send-email-galak@kernel.crashing.org> <1204170711-2057-3-git-send-email-galak@kernel.crashing.org> <1204170711-2057-4-git-send-email-galak@kernel.crashing.org> <1204170711-2057-5-git-send-email-galak@kernel.crashing.org> <1204170711-2057-6-git-send-email-galak@kernel.crashing.org> <1204170711-2057-7-git-send-email-galak@kernel.crashing.org> <1204170711-2057-8-git-send-email-galak@kernel.crashing.org> <1204170711-2057-9-git-send-email-galak@kernel.crashing.org> Message-ID: <47C817ED.2080302@semihalf.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Acked-by: Marian Balakowicz 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.