u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Quentin Schulz <foss+uboot@0leil.net>
Cc: sbabic@denx.de, festevam@gmail.com, uboot-imx@nxp.com,
	sjg@chromium.org, philipp.tomsich@vrull.eu,
	kever.yang@rock-chips.com, paul.liu@linaro.org,
	oleksandr.suvorov@foundries.io, ricardo@foundries.io,
	eajames@linux.ibm.com, peng.fan@nxp.com, u-boot@lists.denx.de,
	Quentin Schulz <quentin.schulz@theobroma-systems.com>,
	Quentin Schulz <foss+uboot@0leil.net>
Subject: [PATCH 3/4] imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC
Date: Tue, 12 Jul 2022 17:44:21 +0200	[thread overview]
Message-ID: <20220712154422.265925-4-foss+uboot@0leil.net> (raw)
In-Reply-To: <20220712154422.265925-1-foss+uboot@0leil.net>

From: Quentin Schulz <quentin.schulz@theobroma-systems.com>

Since commit 103c5f180694 ("mmc: Rename MMC_SUPPORT to MMC"),
SPL_MMC_SUPPORT is named SPL_MMC, so let's fix the ifdef.

Fixes: fbc6b1414342 ("imx: imx8mp_rsb3720a1: convert to DM_SERIAL")
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
 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 f129ebd429..c5e6406417 100644
--- a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
+++ b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
@@ -218,7 +218,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)
 {
@@ -231,4 +231,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.36.1


  parent reply	other threads:[~2022-07-12 15:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12 15:44 [PATCH 0/4] fix missed migration from SPL_<OPTION>_SUPPORT to SPL_<OPTION> Quentin Schulz
2022-07-12 15:44 ` [PATCH 1/4] gpio: fix incorrect depends on for SPL_GPIO_HOG Quentin Schulz
2022-07-13 15:28   ` Simon Glass
2022-08-04 20:52   ` Tom Rini
2022-07-12 15:44 ` [PATCH 2/4] mx7ulp_com: fix incorrect select for SPL options Quentin Schulz
2022-08-04 20:52   ` Tom Rini
2022-07-12 15:44 ` Quentin Schulz [this message]
2022-08-04 20:52   ` [PATCH 3/4] imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC Tom Rini
2022-07-12 15:44 ` [PATCH 4/4] vpl: fix reference in comment to non-existing SPL_SERIAL_SUPPORT Quentin Schulz
2022-07-13 15:28   ` Simon Glass
2022-08-04 20:52   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220712154422.265925-4-foss+uboot@0leil.net \
    --to=foss+uboot@0leil.net \
    --cc=eajames@linux.ibm.com \
    --cc=festevam@gmail.com \
    --cc=kever.yang@rock-chips.com \
    --cc=oleksandr.suvorov@foundries.io \
    --cc=paul.liu@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=ricardo@foundries.io \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).