]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi-mmc: introduce new MMC_SUNXI_HAS_MODE_SWITCH option
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 10 Nov 2018 04:41:44 +0000 (20:41 -0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Nov 2018 07:49:19 +0000 (13:19 +0530)
commit2a8882ecefdeb9eb7ea2ea21427460e773a00e5a
tree9f89d3071ff059d06c75ed15b4a0c7d2954d56a0
parenta3e1653ddeb02f39481eba572275016171e9670c
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: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
[jagan: update commit message]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # Amarula A64-Relic
arch/arm/mach-sunxi/Kconfig
drivers/mmc/Kconfig
drivers/mmc/sunxi_mmc.c