mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 04:21:18 +02:00
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: 2769ddc99f
("mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -378,7 +378,7 @@ static bool tmio_sd_addr_is_dmaable(struct mmc_data *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#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
|
* For UniPhier ARMv7 SoCs, the stack is allocated in locked
|
||||||
* ways of L2, which is unreachable from the DMA engine.
|
* ways of L2, which is unreachable from the DMA engine.
|
||||||
|
Reference in New Issue
Block a user