public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] drivers: mmc: Add wait_dat0 support for more devices
@ 2021-08-17 19:46 stcarlso
  2021-08-17 19:46 ` [PATCH 1/2] drivers: mmc: Add wait_dat0 support for Freescale eSDHC driver stcarlso
  2021-08-17 19:46 ` [PATCH 2/2] drivers: mmc: Add wait_dat0 support for sdhci driver stcarlso
  0 siblings, 2 replies; 5+ messages in thread
From: stcarlso @ 2021-08-17 19:46 UTC (permalink / raw)
  To: u-boot; +Cc: Stephen Carlson, Peng Fan, Jaehoon Chung

From: Stephen Carlson <stcarlso@linux.microsoft.com>

This patch adds eMMC driver support for polling the DAT0 data connection
on the Freescale LX devices and SDHCI compatible devices.

Polling until the card reports it is no longer busy increases eMMC
driver performance over the default behavior, which is to wait for the
worst case timeout specified by the card upon each mmc_switch operation.

This change has been tested on the Broadcom NS3 series (SDHCI) and
LX2160A series (Freescale/NXP eSDHC). U-Boot boot time savings depend on
the eMMC memory used, but can range from 100 to 500 ms or more.

Stephen Carlson (2):
  drivers: mmc: Add wait_dat0 support for Freescale eSDHC driver
  drivers: mmc: Add wait_dat0 support for sdhci driver

 drivers/mmc/fsl_esdhc.c | 16 ++++++++++++++++
 drivers/mmc/sdhci.c     | 20 ++++++++++++++++++++
 include/sdhci.h         |  2 ++
 3 files changed, 38 insertions(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-28  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-17 19:46 [PATCH 0/2] drivers: mmc: Add wait_dat0 support for more devices stcarlso
2021-08-17 19:46 ` [PATCH 1/2] drivers: mmc: Add wait_dat0 support for Freescale eSDHC driver stcarlso
2021-08-28  5:08   ` Jaehoon Chung
2021-08-17 19:46 ` [PATCH 2/2] drivers: mmc: Add wait_dat0 support for sdhci driver stcarlso
2021-08-28  5:13   ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox