[PATCH 2/2] arm: imx8m: imx8mp_rsb3720a1: fix name of option SPL_MMC_SUPPORT
Oleksandr Suvorov
oleksandr.suvorov at foundries.io
Thu Aug 4 20:16:01 CEST 2022
SPL_MMC_SUPPORT is renamed to SPL_MMC in the
commit 103c5f18069 ("mmc: Rename MMC_SUPPORT to MMC")
Fix the name of the option used in TARGET_MX7ULP_COM.
Fixes: ddb56f371a7 ("arm: imx8m: add support for Advantech RSB-3720")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
---
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
index 0a1b2c94161..aa9687f7a9d 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 */
--
2.37.1
More information about the U-Boot
mailing list