Skip to content

Commit

Permalink
iot2050:u-boot:change the boot targets
Browse files Browse the repository at this point in the history
For our advanced board,our first boot target is emmc and there is industry
os resides in it. And in the industry os, there is no method to change the
boot order. So the user can not boot from media by default.

so we need to change the boot target as usb --> uSD --> emmc.
Make it possible for user to boot the image from other media.

Signed-off-by: Chao Zeng <chao.zeng@siemens.com>
  • Loading branch information
AsuraZeng committed Aug 25, 2021
1 parent 437270f commit ad4cd7d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3212,11 +3212,11 @@ index 0000000000..81dbf39537
+ func(MMC, usb, 2)
+#else
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 1) \
+ func(MMC, mmc, 0) \
+ func(MMC, usb, 0) \
+ func(MMC, usb, 1) \
+ func(MMC, usb, 2)
+ func(MMC, usb, 2) \
+ func(MMC, mmc, 0) \
+ func(MMC, mmc, 1)
+#endif
+#include <config_distro_bootcmd.h>
+
Expand Down

0 comments on commit ad4cd7d

Please sign in to comment.