From 0b29b37c57415784d55373b36fb291bc7b07eb5b Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 4 Oct 2021 06:13:18 +0000 Subject: [PATCH] u-boot: bootscript try to use also devnum instead of dev_num on newer board the variable was renamed. Signed-off-by: Arne Fitzenreiter --- config/u-boot/boot.cmd | 5 ++++- config/u-boot/boot.scr | Bin 2451 -> 2514 bytes 2 files changed, 4 insertions(+), 1 deletion(-) 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 370ddde49e7602b2cf76d824da520d21b8347b73..875e09dc23cd2b8f17fd46d73f4deed208987004 100644 GIT binary patch delta 101 zc-osRd`VbdomDdIp3&l9IJTNk(cO7w5!-!pxj$nHw)1y -- 2.39.5