Browse Source

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
pull/1940/head
Biju Das 4 years ago
parent
commit
b9adcf5634
  1. 8
      drivers/renesas/common/emmc/emmc_registers.h

8
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)

Loading…
Cancel
Save