Skip to content
Commit 2a8882ec authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Jagan Teki
Browse files

sunxi-mmc: introduce new MMC_SUNXI_HAS_MODE_SWITCH option



Allwinner A64 has new mode but doesn't have a mode switch in CCM,
and CCM_MMC_CTRL_MODE_SEL_NEW is not defined, so compilation fails
if MMC_SUNXI_HAS_NEW_MODE is enabled

Introduce new MMC_SUNXI_HAS_MODE_SWITCH option to be able to ifdef usage
of CCM_MMC_CTRL_MODE_SEL_NEW

Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
[jagan: update commit message]
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # Amarula A64-Relic
parent a3e1653d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment