projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config_distro_bootcmd.h: Prefer booting from bootable paritions
[oweals/u-boot.git]
/
include
/
config_distro_bootcmd.h
diff --git
a/include/config_distro_bootcmd.h
b/include/config_distro_bootcmd.h
index 73f093f9eaf5d98921faa57bc5e0f50a4f58c19a..d71e58dae1e54e98141fa941aa14e804ffbb89e2 100644
(file)
--- a/
include/config_distro_bootcmd.h
+++ b/
include/config_distro_bootcmd.h
@@
-213,7
+213,8
@@
"done\0" \
\
"scan_dev_for_boot_part=" \
"done\0" \
\
"scan_dev_for_boot_part=" \
- "part list ${devtype} ${devnum} devplist; " \
+ "part list ${devtype} ${devnum} -bootable devplist; " \
+ "env exists devplist || setenv devplist 1; " \
"for bootpart in ${devplist}; do " \
"if fstype ${devtype} ${devnum}:${bootpart} " \
"bootfstype; then " \
"for bootpart in ${devplist}; do " \
"if fstype ${devtype} ${devnum}:${bootpart} " \
"bootfstype; then " \