diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2018-11-09 20:41:44 -0800 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-22 13:19:19 +0530 |
commit | 2a8882ecefdeb9eb7ea2ea21427460e773a00e5a (patch) | |
tree | 9f89d3071ff059d06c75ed15b4a0c7d2954d56a0 /drivers/mmc/Kconfig | |
parent | a3e1653ddeb02f39481eba572275016171e9670c (diff) | |
download | u-boot-2a8882ecefdeb9eb7ea2ea21427460e773a00e5a.tar.gz |
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
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r-- | drivers/mmc/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 27246ee465..3f7458d409 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -569,6 +569,10 @@ config MMC_SUNXI_HAS_NEW_MODE bool depends on MMC_SUNXI +config MMC_SUNXI_HAS_MODE_SWITCH + bool + depends on MMC_SUNXI + config GENERIC_ATMEL_MCI bool "Atmel Multimedia Card Interface support" depends on DM_MMC && BLK && ARCH_AT91 |