diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-08-28 13:01:54 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 18:18:31 (GMT) |
commit | 59d03cb37700e2e204451e83b38c326df0435ff8 (patch) | |
tree | 890b70a41fc1d8ffde47ac5ebd8d050f6401eff8 /include/configs | |
parent | 2da87ab3539264af595d8cb2d6dc7e087f1f1ca7 (diff) | |
download | u-boot-59d03cb37700e2e204451e83b38c326df0435ff8.tar.xz |
config_distro_bootcmd.h: Use a private variable for bootpart
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@collabora.co.uk>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions