From: Arne Fitzenreiter Date: Mon, 4 Oct 2021 06:13:18 +0000 (+0000) Subject: u-boot: bootscript try to use also devnum instead of dev_num X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b29b37c57415784d55373b36fb291bc7b07eb5b;p=people%2Fms%2Fipfire-2.x.git u-boot: bootscript try to use also devnum instead of dev_num on newer board the variable was renamed. Signed-off-by: Arne Fitzenreiter --- diff --git a/config/u-boot/boot.cmd b/config/u-boot/boot.cmd index 8cb8e5fc29..64e9c05bc9 100644 --- a/config/u-boot/boot.cmd +++ b/config/u-boot/boot.cmd @@ -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 diff --git a/config/u-boot/boot.scr b/config/u-boot/boot.scr index 370ddde49e..875e09dc23 100644 Binary files a/config/u-boot/boot.scr and b/config/u-boot/boot.scr differ