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
This commit is contained in:
parent
86c3cc305a
commit
4a6f4d2ec5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue