]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/spl/spl_mmc.c
common: Pass the boot device into spl_boot_mode()
[people/ms/u-boot.git] / common / spl / spl_mmc.c
index ef8583a1a64981ccdf44423b9bf257c4b117d5c5..c44f1b5dc84299639802e3a306f4a7ca3603ba68 100644 (file)
@@ -286,7 +286,7 @@ int spl_mmc_load_image(u32 boot_device)
                return err;
        }
 
-       boot_mode = spl_boot_mode();
+       boot_mode = spl_boot_mode(boot_device);
        err = -EINVAL;
        switch (boot_mode) {
        case MMCSD_MODE_EMMCBOOT: