summaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-04-08 20:35:37 +0300
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-04-16 17:16:20 +0300
commit53614bc2dc4b87979041ddf97be43b81b98d4b7e (patch)
tree582f3b3bb21b6e84bfc7fd5ad15592d05d05c514 /drivers/mmc/tmio-common.c
parent12c1e5782401abca1a8cff578d1911a9ca7d2e7d (diff)
downloadu-boot-53614bc2dc4b87979041ddf97be43b81b98d4b7e.tar.xz
mmc: tmio: Use IS_ENABLED() to check for CONFIG_ option
Use IS_ENABLED() instead of CONFIG_IS_ENABLED() to check for CONFIG_ option which is identical across all of U-Boot and xPL builds. Fixes: 2769ddc99fd ("mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros") Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers/mmc/tmio-common.c')
-rw-r--r--drivers/mmc/tmio-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/tmio-common.c b/drivers/mmc/tmio-common.c
index 8d7ee481d6..d1e2681599 100644
--- a/drivers/mmc/tmio-common.c
+++ b/drivers/mmc/tmio-common.c
@@ -378,7 +378,7 @@ static bool tmio_sd_addr_is_dmaable(struct mmc_data *data)
}
#ifdef CONFIG_SPL_BUILD
- if (IS_ENABLED(CONFIG_ARCH_UNIPHIER) && !CONFIG_IS_ENABLED(CONFIG_ARM64)) {
+ if (IS_ENABLED(CONFIG_ARCH_UNIPHIER) && !IS_ENABLED(CONFIG_ARM64)) {
/*
* For UniPhier ARMv7 SoCs, the stack is allocated in locked
* ways of L2, which is unreachable from the DMA engine.