From 3dd2626f48af6f459b8bfb9ce7c6832b0606e813 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 10 Aug 2018 14:07:54 +0800 Subject: mmc: add HS400 support Add HS400 support. Selecting HS400 needs first select HS200 according to spec, so use a dedicated function for HS400. Add HS400 related macros. Remove the restriction of only using the low 6 bits of EXT_CSD_CARD_TYPE, using all the 8 bits. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Jean-Jacques Hiblot Cc: Stefano Babic Cc: Kishon Vijay Abraham I Cc: Faiz Abbas Cc: Marek Vasut Signed-off-by: Peng Fan --- drivers/mmc/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'drivers/mmc/Kconfig') diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 377b1c4..1616022 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -111,6 +111,19 @@ config SPL_MMC_UHS_SUPPORT cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus frequency can go up to 208MHz (SDR104) +config MMC_HS400_SUPPORT + bool "enable HS400 support" + select MMC_HS200_SUPPORT + help + The HS400 mode is support by some eMMC. The bus frequency is up to + 200MHz. This mode requires tuning the IO. + +config SPL_MMC_HS400_SUPPORT + bool "enable HS400 support in SPL" + help + The HS400 mode is support by some eMMC. The bus frequency is up to + 200MHz. This mode requires tuning the IO. + config MMC_HS200_SUPPORT bool "enable HS200 support" help -- cgit v1.1