aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2020-12-21 13:58:29 +0000
committerLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2021-04-20 16:17:49 +0100
commit4a6f4d2ec5232d01a611b42ec65e8269994c9c7b (patch)
tree43d2834388c0174f3649f2e2ade0820878b77a9d /drivers/renesas
parent86c3cc305aaa40c62c0d03556958b4427bb8435d (diff)
downloadtrusted-firmware-a-4a6f4d2ec5232d01a611b42ec65e8269994c9c7b.tar.gz
drivers: renesas: common: emmc: Select eMMC channel for RZ/G2H SoC
Select MMC_CH1 for eMMC on RZ/G2H SoC. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Change-Id: I1bdfa462fd98b144042c014701b342b87e1efc9d
Diffstat (limited to 'drivers/renesas')
-rw-r--r--drivers/renesas/common/emmc/emmc_registers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/renesas/common/emmc/emmc_registers.h b/drivers/renesas/common/emmc/emmc_registers.h
index 392abb8fb4..6d1bbe7268 100644
--- a/drivers/renesas/common/emmc/emmc_registers.h
+++ b/drivers/renesas/common/emmc/emmc_registers.h
@@ -11,11 +11,11 @@
#define MMC_CH0 (0U) /* SDHI2/MMC0 */
#define MMC_CH1 (1U) /* SDHI3/MMC1 */
-#if (RCAR_LSI == RCAR_E3) || (RCAR_LSI == RZ_G2M)
-#define USE_MMC_CH (MMC_CH1) /* R-Car E3 or RZ/G2M */
-#else /* RCAR_LSI == RCAR_E3 || RCAR_LSI == RZ_G2M */
+#if (RCAR_LSI == RCAR_E3) || (RCAR_LSI == RZ_G2M) || (RCAR_LSI == RZ_G2H)
+#define USE_MMC_CH (MMC_CH1) /* R-Car E3 or RZ/G2{H,M} */
+#else /* RCAR_LSI == RCAR_E3 || RCAR_LSI == RZ_G2{H,M} */
#define USE_MMC_CH (MMC_CH0) /* R-Car H3/M3/M3N */
-#endif /* RCAR_LSI == RCAR_E3 || RCAR_LSI == RZ_G2M */
+#endif /* RCAR_LSI == RCAR_E3 || RCAR_LSI == RZ_G2{H,M} */
#define BIT0 (0x00000001U)
#define BIT1 (0x00000002U)