[U-Boot] [U-Boot, 1/3] config_distro_bootcmd.h: Use a private variable for bootpart

Tom Rini trini at konsulko.com
Thu Oct 22 23:19:15 CEST 2015


On Fri, Aug 28, 2015 at 03:01:54PM +0200, Sjoerd Simons wrote:

> Hush has an oddity where using ${var} causes var to resolved in the the global
> address space (iotw the environment) first and only afterwards will the local
> variable space be searched.
> 
> This causes odd side-effects when iterating over the boot partitions
> using ${bootpart} if the environment also has a bootpart variable (e.g. for
> the various TI boards). Fix this by using the hopefully more unique
> ${distro_bootpart} instead of ${bootpart}.
> 
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Acked-by: Stephen Warren <swarren at wwwdotorg.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/f723c9d8/attachment.sig>


More information about the U-Boot mailing list