From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BE9EC4338F for ; Tue, 17 Aug 2021 19:48:32 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A1CE66102A for ; Tue, 17 Aug 2021 19:48:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A1CE66102A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 361CD82C04; Tue, 17 Aug 2021 21:48:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="i2W4j5Aq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 053B782BCE; Tue, 17 Aug 2021 21:48:15 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by phobos.denx.de (Postfix) with ESMTP id 2AF7182054 for ; Tue, 17 Aug 2021 21:48:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=stcarlso@linux.microsoft.com Received: from ovlvm104.redmond.corp.microsoft.com (unknown [131.107.160.75]) by linux.microsoft.com (Postfix) with ESMTPSA id 8DFA420C2FE0; Tue, 17 Aug 2021 12:48:10 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8DFA420C2FE0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1629229690; bh=W26eqdbX//FtlnttxUFE+S+B5zo68y3PCJNMx85KYu4=; h=From:To:Cc:Subject:Date:From; b=i2W4j5AqR+ul+X6BC0LOpiyZbkJftkTGQrwAauoYMd9wKIGo7aamOCqoGAQdoYKgU htpl2oymN6ES/s/6+AKiAUYeQ2LER1qIuBJh2J/Y+rYIXDF7FzrXF26kWq4G4qOcNh rMHp9ZF+kzSPVs5EwmL9HGsdDyAxtZ4RmdmSKEcY= From: stcarlso@linux.microsoft.com To: u-boot@lists.denx.de Cc: Stephen Carlson , Peng Fan , Jaehoon Chung Subject: [PATCH 0/2] drivers: mmc: Add wait_dat0 support for more devices Date: Tue, 17 Aug 2021 12:46:39 -0700 Message-Id: <20210817194641.2269-1-stcarlso@linux.microsoft.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Stephen Carlson 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