openwrt/package/boot/uboot-imx/patches/110-mx6cuboxi-mmc-fallback.patch

16 lines
390 B
Diff
Raw Normal View History

--- 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)