u-boot: bootscript try to use also devnum instead of dev_num

on newer board the variable was renamed.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-10-04 06:13:18 +00:00
parent dac49f1b11
commit 0b29b37c57
2 changed files with 4 additions and 1 deletions

View File

@@ -4,7 +4,10 @@ if test ${boot_dev} = ""; then
fi;
if test ${dev_num} = ""; then
setenv dev_num 0;
setenv dev_num ${devnum}
if test ${dev_num} = ""; then
setenv dev_num 0;
fi;
fi;
if test ${boot_part} = ""; then

Binary file not shown.