From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 28 Aug 2015 12:42:52 -0700 Subject: [U-Boot] [PATCH 1/3] config_distro_bootcmd.h: Use a private variable for bootpart In-Reply-To: <1440766922-24993-2-git-send-email-sjoerd.simons@collabora.co.uk> References: <1440766922-24993-1-git-send-email-sjoerd.simons@collabora.co.uk> <1440766922-24993-2-git-send-email-sjoerd.simons@collabora.co.uk> Message-ID: <55E0B9BC.2020404@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/28/2015 06:01 AM, 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}. The series, Acked-by: Stephen Warren