mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
u-boot: enable boot from additional mmc device
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -3,8 +3,12 @@ if test ${boot_dev} = ""; then
|
||||
setenv root_dev /dev/mmcblk0p3;
|
||||
fi;
|
||||
|
||||
if test ${dev_num} = ""; then
|
||||
setenv dev_num 0;
|
||||
fi;
|
||||
|
||||
if test ${boot_part} = ""; then
|
||||
setenv boot_part 0:1;
|
||||
setenv boot_part ${dev_num}:1;
|
||||
fi;
|
||||
|
||||
if test ${soc} = "kirkwood"; then
|
||||
|
||||
Reference in New Issue
Block a user