]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/imx-common/spl.c
common: Pass the boot device into spl_boot_mode()
[people/ms/u-boot.git] / arch / arm / imx-common / spl.c
index caa45cfabf5b9231b535fb78be5b1637bbbe7044..bdcda7de937f0673392f5007f4377b597747fc0a 100644 (file)
@@ -70,7 +70,7 @@ u32 spl_boot_device(void)
 
 #if defined(CONFIG_SPL_MMC_SUPPORT)
 /* called from spl_mmc to see type of boot mode for storage (RAW or FAT) */
-u32 spl_boot_mode(void)
+u32 spl_boot_mode(const u32 boot_device)
 {
        switch (spl_boot_device()) {
        /* for MMC return either RAW or FAT mode */