mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC
Since commit103c5f1806("mmc: Rename MMC_SUPPORT to MMC"), SPL_MMC_SUPPORT is named SPL_MMC, so let's fix the ifdef. Fixes:fbc6b14143("imx: imx8mp_rsb3720a1: convert to DM_SERIAL") Cc: Quentin Schulz <foss+uboot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
This commit is contained in:
@@ -206,7 +206,7 @@ int board_late_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPL_MMC_SUPPORT
|
||||
#ifdef CONFIG_SPL_MMC
|
||||
#define UBOOT_RAW_SECTOR_OFFSET 0x40
|
||||
unsigned long spl_mmc_get_uboot_raw_sector(struct mmc *mmc)
|
||||
{
|
||||
@@ -219,4 +219,4 @@ unsigned long spl_mmc_get_uboot_raw_sector(struct mmc *mmc)
|
||||
return CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR;
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_SPL_MMC_SUPPORT */
|
||||
#endif /* CONFIG_SPL_MMC */
|
||||
|
||||
Reference in New Issue
Block a user