Skip to content

Commit ad4cd7d

Browse files
committed
iot2050:u-boot:change the boot targets
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 <[email protected]>
1 parent 437270f commit ad4cd7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipes-bsp/u-boot/files/0001-feat-add-iot2050-platform-support.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,11 +3212,11 @@ index 0000000000..81dbf39537
32123212
+ func(MMC, usb, 2)
32133213
+#else
32143214
+#define BOOT_TARGET_DEVICES(func) \
3215-
+ func(MMC, mmc, 1) \
3216-
+ func(MMC, mmc, 0) \
32173215
+ func(MMC, usb, 0) \
32183216
+ func(MMC, usb, 1) \
3219-
+ func(MMC, usb, 2)
3217+
+ func(MMC, usb, 2) \
3218+
+ func(MMC, mmc, 0) \
3219+
+ func(MMC, mmc, 1)
32203220
+#endif
32213221
+#include <config_distro_bootcmd.h>
32223222
+

0 commit comments

Comments
 (0)