aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch')
-rw-r--r--package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch b/package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch
new file mode 100644
index 0000000000..9d490ddf7e
--- /dev/null
+++ b/package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch
@@ -0,0 +1,15 @@
+--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
++++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
+@@ -286,6 +286,12 @@ static void setup_iomux_enet(void)
+ gpio_free_list_nodev(&desc, 1);
+ }
+
++void board_boot_order(u32 *spl_boot_list)
++{
++ spl_boot_list[0] = spl_boot_device();
++ spl_boot_list[1] = BOOT_DEVICE_MMC1;
++}
++
+ int board_phy_config(struct phy_device *phydev)
+ {
+ if (phydev->drv->config)