From: Quentin Schulz Date: Tue, 12 Jul 2022 15:44:21 +0000 (+0200) Subject: imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC X-Git-Tag: baikal/mips/sdk5.8.2~5^2~264^2~9 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=c9d55351af8a1f30d0d10de57c13ad8e6923a1ed;p=uboot.git imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC Since commit 5027a563ca4a ("mmc: Rename MMC_SUPPORT to MMC"), SPL_MMC_SUPPORT is named SPL_MMC, so let's fix the ifdef. Fixes: ad006ab86e46 ("imx: imx8mp_rsb3720a1: convert to DM_SERIAL") Cc: Quentin Schulz Signed-off-by: Quentin Schulz --- diff --git a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c index 0a1b2c9416..aa9687f7a9 100644 --- a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c +++ b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c @@ -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 */