public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: stcarlso@linux.microsoft.com
To: u-boot@lists.denx.de
Cc: Stephen Carlson <stcarlso@linux.microsoft.com>,
	Peng Fan <peng.fan@nxp.com>,
	Jaehoon Chung <jh80.chung@samsung.com>
Subject: [PATCH 0/2] drivers: mmc: Add wait_dat0 support for more devices
Date: Tue, 17 Aug 2021 12:46:39 -0700	[thread overview]
Message-ID: <20210817194641.2269-1-stcarlso@linux.microsoft.com> (raw)

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


             reply	other threads:[~2021-08-17 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 19:46 stcarlso [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210817194641.2269-1-stcarlso@linux.microsoft.com \
    --to=stcarlso@linux.microsoft.com \
    --cc=jh80.chung@samsung.com \
    --cc=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox