diff --git a/config/u-boot/boot.cmd b/config/u-boot/boot.cmd index 8cb8e5fc2..64e9c05bc 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 370ddde49..875e09dc2 100644 Binary files a/config/u-boot/boot.scr and b/config/u-boot/boot.scr differ