Skip to contentSkip to conversation

mmc: add HS400 support

PATCH Superseded Peng Fan 4 participants 14 messages May 19, 2018 – Aug 10, 2018 MMC, SD and SDIO

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH v3 1/2 mmc: add HS400 support

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>

---

V3:
Simplify code
add error msg

V2:
remove 4bits support from HS400, as HS400 does not support 4bits per spec.

 drivers/mmc/Kconfig |   7 +++
 drivers/mmc/mmc.c   | 137 +++++++++++++++++++++++++++++++++++++++++-----------
 include/mmc.h       |  11 +++++
 3 files changed, 128 insertions(+), 27 deletions(-)
drivers/mmc/Kconfig +7 -0
index 3f15f85efd..a535a87a8e 100644
@@ -104,6 +104,13 @@ 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 MMC_HS200_SUPPORT
 	bool "enable HS200 support"
 	help
drivers/mmc/mmc.c +110 -27

200 lines not on this page · raw message

include/mmc.h +11 -0
index 534c317b43..e12323b7cf 100644
@@ -64,6 +64,7 @@
 #define MMC_MODE_HS_52MHz	MMC_CAP(MMC_HS_52)
 #define MMC_MODE_DDR_52MHz	MMC_CAP(MMC_DDR_52)
 #define MMC_MODE_HS200		MMC_CAP(MMC_HS_200)
+#define MMC_MODE_HS400		MMC_CAP(MMC_HS_400)
 
 #define MMC_MODE_8BIT		BIT(30)
 #define MMC_MODE_4BIT		BIT(29)
@@ -248,6 +249,10 @@ static inline bool mmc_is_tuning_cmd(uint cmdidx)
 						/* SDR mode @1.2V I/O */
 #define EXT_CSD_CARD_TYPE_HS200		(EXT_CSD_CARD_TYPE_HS200_1_8V | \
 					 EXT_CSD_CARD_TYPE_HS200_1_2V)
+#define EXT_CSD_CARD_TYPE_HS400_1_8V	BIT(6)
+#define EXT_CSD_CARD_TYPE_HS400_1_2V	BIT(7)
+#define EXT_CSD_CARD_TYPE_HS400		(EXT_CSD_CARD_TYPE_HS400_1_8V | \
+					 EXT_CSD_CARD_TYPE_HS400_1_2V)
 
 #define EXT_CSD_BUS_WIDTH_1	0	/* Card is in 1 bit mode */
 #define EXT_CSD_BUS_WIDTH_4	1	/* Card is in 4 bit mode */
@@ -259,6 +264,7 @@ static inline bool mmc_is_tuning_cmd(uint cmdidx)
 #define EXT_CSD_TIMING_LEGACY	0	/* no high speed */
 #define EXT_CSD_TIMING_HS	1	/* HS */
 #define EXT_CSD_TIMING_HS200	2	/* HS200 */
+#define EXT_CSD_TIMING_HS400	3	/* HS400 */
 
 #define EXT_CSD_BOOT_ACK_ENABLE			(1 << 6)
 #define EXT_CSD_BOOT_PARTITION_ENABLE		(1 << 3)
@@ -519,6 +525,7 @@ enum bus_mode {
 	UHS_DDR50,
 	UHS_SDR104,
 	MMC_HS_200,
+	MMC_HS_400,
 	MMC_MODES_END
 };
 
@@ -532,6 +539,10 @@ static inline bool mmc_is_mode_ddr(enum bus_mode mode)
 #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT)
 	else if (mode == UHS_DDR50)
 		return true;
+#endif
+#if CONFIG_IS_ENABLED(MMC_HS400_SUPPORT)
+	else if (mode == MMC_HS_400)
+		return true;
 #endif
 	else
 		return false;
Signature · 1 line
2.14.1
author
#1 lore raw

PATCH v3 2/2 mmc: fsl_esdhc: enable HS400 feature

The strobe dll code is ported from Linux Kernel:
drivers/mmc/host/sdhci-esdhc-imx.c
The comments are from the above file,
"For HS400 eMMC, there is a data_strobe line. This signal is generated by the device and used for data output and CRC status response output in HS400 mode. The frequency of this signal follows the frequency of CLK generated by host. The host receives the data which is aligned to the edge of data_strobe line. Due to the time delay between CLK line and data_strobe line, if the delay time is larger than one clock cycle, then CLK and data_strobe line will be misaligned, read error shows up. So when the CLK is higher than 100MHz, each clock cycle is short enough, host should configure the delay target. "

Cc Jaehoon Chung <[email protected]>
Cc Stefano Babic <[email protected]>

---

V3:
remove DDR and HS400 when SD/MMC Legacy mode.
V2:
None

 drivers/mmc/fsl_esdhc.c | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
drivers/mmc/fsl_esdhc.c +35 -1
index 4528345c67..4423d526c3 100644
@@ -662,6 +662,7 @@ static int esdhc_change_pinstate(struct udevice *dev)
 		break;
 	case UHS_SDR104:
 	case MMC_HS_200:
+	case MMC_HS_400:
 		ret = pinctrl_select_state(dev, "state_200mhz");
 		break;
 	default:
@@ -689,6 +690,33 @@ static void esdhc_reset_tuning(struct mmc *mmc)
 	}
 }
 
+static void esdhc_set_strobe_dll(struct mmc *mmc)
+{
+	struct fsl_esdhc_priv *priv = dev_get_priv(mmc->dev);
+	struct fsl_esdhc *regs = priv->esdhc_regs;
+	u32 val;
+
+	if (priv->clock > ESDHC_STROBE_DLL_CLK_FREQ) {
+		writel(ESDHC_STROBE_DLL_CTRL_RESET, &regs->strobe_dllctrl);
+
+		/*
+		 * enable strobe dll ctrl and adjust the delay target
+		 * for the uSDHC loopback read clock
+		 */
+		val = ESDHC_STROBE_DLL_CTRL_ENABLE |
+			(priv->strobe_dll_delay_target <<
+			 ESDHC_STROBE_DLL_CTRL_SLV_DLY_TARGET_SHIFT);
+		writel(val, &regs->strobe_dllctrl);
+		/* wait 1us to make sure strobe dll status register stable */
+		mdelay(1);
+		val = readl(&regs->strobe_dllstat);
+		if (!(val & ESDHC_STROBE_DLL_STS_REF_LOCK))
+			pr_warn("HS400 strobe DLL status REF not lock!\n");
+		if (!(val & ESDHC_STROBE_DLL_STS_SLV_LOCK))
+			pr_warn("HS400 strobe DLL status SLV not lock!\n");
+	}
+}
+
 static int esdhc_set_timing(struct mmc *mmc)
 {
 	struct fsl_esdhc_priv *priv = dev_get_priv(mmc->dev);
@@ -702,6 +730,12 @@ static int esdhc_set_timing(struct mmc *mmc)
 	case MMC_LEGACY:
 	case SD_LEGACY:
 		esdhc_reset_tuning(mmc);
+		writel(mixctrl, &regs->mixctrl);
+		break;
+	case MMC_HS_400:
+		mixctrl |= MIX_CTRL_DDREN | MIX_CTRL_HS400_EN;
+		writel(mixctrl, &regs->mixctrl);
+		esdhc_set_strobe_dll(mmc);
 		break;
 	case MMC_HS:
 	case MMC_HS_52:
@@ -1438,7 +1472,7 @@ static int fsl_esdhc_probe(struct udevice *dev)
 #endif
 
 	if (fdt_get_property(fdt, node, "no-1-8-v", NULL))
-		priv->caps &= ~(UHS_CAPS | MMC_MODE_HS200);
+		priv->caps &= ~(UHS_CAPS | MMC_MODE_HS200 | MMC_MODE_HS400);
 
 	/*
 	 * TODO:
Signature · 1 line
2.14.1
#2 lore raw

PATCH v3 1/2 mmc: add HS400 support

In reply to Peng Fan
Quoted 2 lines · Peng Fan

Add HS400 support.
Selecting HS400 needs first select HS199 according to spec, so use

I think you meant HS200 instead?

author
#3 lore raw

PATCH v3 1/2 mmc: add HS400 support

Hi Fabio,

Quoted 8 lines

-----Original Message-----
From: Fabio Estevam [mailto:festevam at gmail.com]
Sent: 2018年5月19日 22:39
To: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>; Kishon Vijay Abraham I <[email protected]>; U-Boot-Denx <[email protected]>
Subject: Re: [U-Boot] [PATCH V3 1/2] mmc: add HS400 support

Quoted 5 lines
Quoted 2 lines · Peng Fan

Add HS400 support.
Selecting HS400 needs first select HS199 according to spec, so use

I think you meant HS200 instead?

Yes HS200, thanks.

Jaehoon, would you mind help fix the typo if no more comments?

Thanks,
Peng.

#4 lore raw

PATCH v3 1/2 mmc: add HS400 support

Quoted 10 lines · Peng Fan

Hi Fabio,

Quoted 8 lines

-----Original Message-----
From: Fabio Estevam [mailto:festevam at gmail.com]
Sent: 2018年5月19日 22:39
To: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>; Kishon Vijay Abraham I <[email protected]>; U-Boot-Denx <[email protected]>
Subject: Re: [U-Boot] [PATCH V3 1/2] mmc: add HS400 support

Quoted 8 lines
Quoted 5 lines · Peng Fan
Quoted 2 lines

Add HS400 support.
Selecting HS400 needs first select HS199 according to spec, so use

I think you meant HS200 instead?

Yes HS200, thanks.

Jaehoon, would you mind help fix the typo if no more comments?

Bump ? This patch would be useful upstream, IMO it looks OK too. Jaehoon, what is going on ?

Signature · 2 lines
Best regards,
Marek Vasut
#5 lore raw

PATCH v3 1/2 mmc: add HS400 support

In reply to Peng Fan
Quoted 7 lines · Peng Fan

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Quoted 7 lines
Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>

Which controller do you use to test the HS400 ?

Signature · 2 lines
Best regards,
Marek Vasut
author
#6 lore raw

PATCH v3 1/2 mmc: add HS400 support

Hi Marek,

Quoted 23 lines

-----Original Message-----
From: Marek Vasut [mailto:marek.vasut at gmail.com]
Sent: 2018年6月13日 12:35
To: Peng Fan <[email protected]>; jh80.chung at samsung.com
Cc: Kishon Vijay Abraham I <[email protected]>; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH V3 1/2] mmc: add HS400 support

Quoted 7 lines · Peng Fan

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Quoted 7 lines
Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>
Quoted 1 line

Which controller do you use to test the HS400 ?

It is i.MX8QXP/QM. The QXP support is in patch reviewing process.

-Peng.

Quoted 4 lines

--
Best regards,
Marek Vasut

#7 lore raw

PATCH v3 1/2 mmc: add HS400 support

Quoted 25 lines · Peng Fan

Hi Marek,

Quoted 23 lines

-----Original Message-----
From: Marek Vasut [mailto:marek.vasut at gmail.com]
Sent: 2018年6月13日 12:35
To: Peng Fan <[email protected]>; jh80.chung at samsung.com
Cc: Kishon Vijay Abraham I <[email protected]>; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH V3 1/2] mmc: add HS400 support

Quoted 14 lines · Peng Fan

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>
Quoted 3 lines
Quoted 1 line

Which controller do you use to test the HS400 ?

It is i.MX8QXP/QM. The QXP support is in patch reviewing process.

I see. I'll try this on the Renesas Gen3 SDHI controller.

Signature · 2 lines
Best regards,
Marek Vasut
#8 lore raw

PATCH v3 1/2 mmc: add HS400 support

In reply to Peng Fan

Hi,

Quoted 33 lines · Peng Fan

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>

---

V3:
Simplify code
add error msg

V2:
remove 4bits support from HS400, as HS400 does not support 4bits per spec.

 drivers/mmc/Kconfig |   7 +++
 drivers/mmc/mmc.c   | 137 +++++++++++++++++++++++++++++++++++++++++-----------
 include/mmc.h       |  11 +++++
 3 files changed, 128 insertions(+), 27 deletions(-)
drivers/mmc/Kconfig +0 -0
index 3f15f85efd..a535a87a8e 100644

drivers/mmc/Kconfig config SPL_MMC_UHS_SUPPORT · line 113

Quoted 10 lines
drivers/mmc/Kconfig +7 -0
@@ -104,6 +104,13 @@ 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.
+

Please add SPL_MMC_HS400_SUPPORT also.

Thanks,
Faiz

author
#9 lore raw

PATCH v3 1/2 mmc: add HS400 support

Hi Faiz,

It's 2 months since this patchset out (:

Quoted 39 lines · Peng Fan
Quoted 20 lines

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>

---

V3:
Simplify code
add error msg

Quoted 5 lines

V2:
remove 4bits support from HS400, as HS400 does not support 4bits per spec.

 drivers/mmc/Kconfig |   7 +++
 drivers/mmc/mmc.c   | 137

+++++++++++++++++++++++++++++++++++++++++-----------

Quoted 11 lines
 include/mmc.h       |  11 +++++
 3 files changed, 128 insertions(+), 27 deletions(-)
drivers/mmc/Kconfig index renamed from drivers/mmc/Kconfig +0 -0

3f15f85efd..a535a87a8e 100644

drivers/mmc/Kconfig +0 -0
@@ -104,6 +104,13 @@ 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)
 
Quoted 9 lines

drivers/mmc/Kconfig config SPL_MMC_UHS_SUPPORT · line 113

Quoted 7 lines
drivers/mmc/Kconfig +7 -0
+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.
+

Please add SPL_MMC_HS400_SUPPORT also.

What issue do you see? I did not test SPL MMC with HS400 support. You mean only add a Kconfig entry SPL_MMC_HS400_SUPPORT?

Regards,
Peng.

Quoted 3 lines

Thanks,
Faiz

#10 lore raw

PATCH v3 1/2 mmc: add HS400 support

Hi Peng,

Quoted 3 lines · Peng Fan

Hi Faiz,

It's 2 months since this patchset out (:

Has it already been accepted?

Quoted 50 lines

drivers/mmc/Kconfig

Quoted 39 lines · Peng Fan
Quoted 20 lines

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>

---

V3:
Simplify code
add error msg

Quoted 5 lines

V2:
remove 4bits support from HS400, as HS400 does not support 4bits per spec.

 drivers/mmc/Kconfig |   7 +++
 drivers/mmc/mmc.c   | 137

+++++++++++++++++++++++++++++++++++++++++-----------

Quoted 11 lines
 include/mmc.h       |  11 +++++
 3 files changed, 128 insertions(+), 27 deletions(-)
drivers/mmc/Kconfig index renamed from drivers/mmc/Kconfig +0 -0

3f15f85efd..a535a87a8e 100644

drivers/mmc/Kconfig +0 -0
@@ -104,6 +104,13 @@ 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)
 
Quoted 9 lines

drivers/mmc/Kconfig config SPL_MMC_UHS_SUPPORT · line 113

Quoted 7 lines
drivers/mmc/Kconfig +7 -0
+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.
+

Please add SPL_MMC_HS400_SUPPORT also.

Quoted 2 lines

What issue do you see? I did not test SPL MMC with HS400 support. You mean only add a Kconfig entry SPL_MMC_HS400_SUPPORT?

Yes only a Kconfig. It helps people who want to include/exclude it from SPL. You are implicitly checking for the config in CONFIG_IS_ENABLED(MMC_HS400_SUPPORT) below.

I was just using your patch for some out of tree development and figured it would be useful to have the CONFIG.

Thanks,
Faiz

author
#11 lore raw

PATCH v3 1/2 mmc: add HS400 support

Quoted 7 lines · Peng Fan
Quoted 3 lines

Hi Faiz,

It's 2 months since this patchset out (:

Has it already been accepted?

No. I did not receive response from Jaehoon.

Quoted 56 lines
Quoted 26 lines

drivers/mmc/Kconfig

Quoted 24 lines · Peng Fan
Quoted 22 lines

Add HS400 support.
Selecting HS400 needs first select HS199 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.

Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Simon Glass <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Bin Meng <[email protected]>

---

V3:
Simplify code
add error msg

V2:
remove 4bits support from HS400, as HS400 does not support 4bits per

spec.

Quoted 15 lines
Quoted 15 lines
Quoted 3 lines
 drivers/mmc/Kconfig |   7 +++
 drivers/mmc/mmc.c   | 137

+++++++++++++++++++++++++++++++++++++++++-----------

Quoted 11 lines
 include/mmc.h       |  11 +++++
 3 files changed, 128 insertions(+), 27 deletions(-)
drivers/mmc/Kconfig index renamed from drivers/mmc/Kconfig +0 -0

3f15f85efd..a535a87a8e 100644

drivers/mmc/Kconfig +0 -0
@@ -104,6 +104,13 @@ 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)
 
Quoted 5 lines
Quoted 5 lines

drivers/mmc/Kconfig config SPL_MMC_UHS_SUPPORT

Quoted 5 lines
drivers/mmc/Kconfig +5 -0
+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

Quoted 7 lines
Quoted 4 lines

drivers/mmc/Kconfig config SPL_MMC_UHS_SUPPORT · line 113

Quoted 2 lines
drivers/mmc/Kconfig +2 -0
+	  200MHz. This mode requires tuning the IO.
+

Please add SPL_MMC_HS400_SUPPORT also.

What issue do you see? I did not test SPL MMC with HS400 support. You mean only add a Kconfig entry SPL_MMC_HS400_SUPPORT?

Quoted 6 lines

Yes only a Kconfig. It helps people who want to include/exclude it from SPL. You are implicitly checking for the config in CONFIG_IS_ENABLED(MMC_HS400_SUPPORT) below.

I was just using your patch for some out of tree development and figured it would be useful to have the CONFIG.

Ok. I'll add it and post out V4 patchset.

Thanks,
Peng

Quoted 3 lines

Thanks,
Faiz

#12 lore raw

PATCH v3 1/2 mmc: add HS400 support

On 07/24/2018 10:59 AM, Peng Fan wrote:
[...]

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line

Please add SPL_MMC_HS400_SUPPORT also.

What issue do you see? I did not test SPL MMC with HS400 support. You mean only add a Kconfig entry SPL_MMC_HS400_SUPPORT?

Quoted 8 lines
Quoted 6 lines

Yes only a Kconfig. It helps people who want to include/exclude it from SPL. You are implicitly checking for the config in CONFIG_IS_ENABLED(MMC_HS400_SUPPORT) below.

I was just using your patch for some out of tree development and figured it would be useful to have the CONFIG.

Ok. I'll add it and post out V4 patchset.

Any news on that V4 , are you planning to post it ?

Signature · 2 lines
Best regards,
Marek Vasut
author
#13 lore raw

PATCH v3 1/2 mmc: add HS400 support

Hi Marek,

Quoted 19 lines

-----Original Message-----
From: Marek Vasut [mailto:marek.vasut at gmail.com]
Sent: 2018年8月9日 15:32
To: Peng Fan <[email protected]>; Faiz Abbas <[email protected]>; jh80.chung at samsung.com
Cc: u-boot at lists.denx.de; Kishon Vijay Abraham I <[email protected]>
Subject: Re: [U-Boot] [PATCH V3 1/2] mmc: add HS400 support

On 07/24/2018 10:59 AM, Peng Fan wrote:
[...]

Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
Quoted 1 line

Please add SPL_MMC_HS400_SUPPORT also.

What issue do you see? I did not test SPL MMC with HS400 support. You mean only add a Kconfig entry SPL_MMC_HS400_SUPPORT?

Yes only a Kconfig. It helps people who want to include/exclude it from SPL. You are implicitly checking for the config in CONFIG_IS_ENABLED(MMC_HS400_SUPPORT) below.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

I was just using your patch for some out of tree development and figured it would be useful to have the CONFIG.

Ok. I'll add it and post out V4 patchset.

Any news on that V4 , are you planning to post it ?

Just posted out V4. Please help review.

Thanks,
Peng.

Quoted 4 lines

--
Best regards,
Marek Vasut