diff options
Diffstat (limited to 'common/spl')
-rw-r--r-- | common/spl/spl_mmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 5f1cfbf..494f683 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -73,7 +73,12 @@ static int mmc_load_image_raw_partition(struct mmc *mmc, int partition) return -1; } +#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR + return mmc_load_image_raw_sector(mmc, info.start + + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR); +#else return mmc_load_image_raw_sector(mmc, info.start); +#endif } #endif |