2018-08-26 17:34:41 +00:00
|
|
|
--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
|
|
|
|
+++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
|
2019-01-23 21:25:39 +00:00
|
|
|
@@ -290,6 +290,12 @@ static void setup_iomux_enet(void)
|
|
|
|
udelay(100);
|
2018-08-26 17:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
+void board_boot_order(u32 *spl_boot_list)
|
|
|
|
+{
|
|
|
|
+ spl_boot_list[0] = spl_boot_device();
|
|
|
|
+ spl_boot_list[1] = BOOT_DEVICE_MMC1;
|
|
|
|
+}
|
|
|
|
+
|
2019-01-23 21:25:39 +00:00
|
|
|
int board_phy_config(struct phy_device *phydev)
|
2018-08-26 17:34:41 +00:00
|
|
|
{
|
2019-01-23 21:25:39 +00:00
|
|
|
if (phydev->drv->config)
|
2018-08-26 17:34:41 +00:00
|
|
|
--- a/arch/arm/mach-imx/spl.c
|
|
|
|
+++ b/arch/arm/mach-imx/spl.c
|
2019-05-14 07:47:26 +00:00
|
|
|
@@ -176,7 +176,7 @@ int g_dnl_bind_fixup(struct usb_device_d
|
2018-08-26 17:34:41 +00:00
|
|
|
/* called from spl_mmc to see type of boot mode for storage (RAW or FAT) */
|
|
|
|
u32 spl_boot_mode(const u32 boot_device)
|
|
|
|
{
|
|
|
|
- switch (spl_boot_device()) {
|
|
|
|
+ switch (boot_device) {
|
|
|
|
/* for MMC return either RAW or FAT mode */
|
|
|
|
case BOOT_DEVICE_MMC1:
|
|
|
|
case BOOT_DEVICE_MMC2:
|