aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2020-11-09 09:50:25 +0000
committerBiju Das <biju.das.jz@bp.renesas.com>2021-01-13 19:15:57 +0000
commitb9adcf5634428df72e906ab07a12974047c86e44 (patch)
treeb99571f4d2edc064ba4ba8e90c99163822239102 /drivers/renesas
parentdb10bad9ffb2b04c325f7eec021c7cfc75797ca4 (diff)
downloadtrusted-firmware-a-b9adcf5634428df72e906ab07a12974047c86e44.tar.gz
renesas: rzg: emmc: Enable RZ/G2M support
Enable eMMC driver support for RZ/G2M SoC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: I34803060c5b592ac24720b11d4a8cd3f9f40caee
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 ae689ca24c..392abb8fb4 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
-#define USE_MMC_CH (MMC_CH1) /* R-Car E3 */
-#else /* RCAR_LSI == RCAR_E3 */
+#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 */
#define USE_MMC_CH (MMC_CH0) /* R-Car H3/M3/M3N */
-#endif /* RCAR_LSI == RCAR_E3 */
+#endif /* RCAR_LSI == RCAR_E3 || RCAR_LSI == RZ_G2M */
#define BIT0 (0x00000001U)
#define BIT1 (0x00000002U)