summaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.c
diff options
context:
space:
mode:
authorHai Pham <hai.pham.ud@renesas.com>2023-03-01 00:24:06 +0300
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-04-07 18:13:28 +0300
commit632a7b118623e9ba3228053ac676c3c668a2fb33 (patch)
treeafe07279a67adfeccefd224b9e87724a70882f55 /drivers/mmc/tmio-common.c
parent2769ddc99fd089afb4c150b027ff4217d0fe098e (diff)
downloadu-boot-632a7b118623e9ba3228053ac676c3c668a2fb33.tar.xz
mmc: renesas-sdhi: Add R-Car Gen4 support
Support R-Car Gen4 family. The default quirk is similar to previous generation. Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> # Use RCAR_64 Kconfig
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 d8b6a4a882..8d7ee481d6 100644
--- a/drivers/mmc/tmio-common.c
+++ b/drivers/mmc/tmio-common.c
@@ -369,7 +369,7 @@ static bool tmio_sd_addr_is_dmaable(struct mmc_data *data)
if (!IS_ALIGNED(addr, TMIO_SD_DMA_MINALIGN))
return false;
- if (IS_ENABLED(CONFIG_RCAR_GEN3)) {
+ if (IS_ENABLED(CONFIG_RCAR_64)) {
if (!(data->flags & MMC_DATA_READ) && !IS_ALIGNED(addr, 128))
return false;
/* Gen3 DMA has 32bit limit */