Message ID | 362e03e09664bc40571e21b23cd68a2a250f84d5.1603451681.git.michal.simek@xilinx.com |
---|---|
State | Superseded |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=TtT4eadc; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CHhVK47gkz9sRR for <incoming@patchwork.ozlabs.org>; Fri, 23 Oct 2020 22:15:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 487CF82468; Fri, 23 Oct 2020 13:15:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="TtT4eadc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 21E4782468; Fri, 23 Oct 2020 13:15:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 302FF82457 for <u-boot@lists.denx.de>; Fri, 23 Oct 2020 13:14:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x641.google.com with SMTP id w27so1847926ejb.3 for <u-boot@lists.denx.de>; Fri, 23 Oct 2020 04:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aad1+BhojPkWpxEfNRsOBfx7FAN/Phl2Kk3jkf+zqT4=; b=TtT4eadchfN+UfePo7LXWazgHiw1+33QwGRcMHje8b8OS16XKMmbw1UcbSG1Mcs1g0 Fd2fYUlJt4/03yrM1ozkcofxkUOv596AR8iK4zDUmMf1i8H48fXdOqF5GYB4dh7Ccpyy CYoM6GAWLgsdATPMnBGVIlRk61dNk/uWFzACz2ftCEXi71xoUGRUn0aF4ZJmYdQ2StW4 bPKsCevqILd4uhlNNczbpxwgsHaQT3Ch5LZ+cFcWsBIXgol1gMpEuN04tjv73PAMm0EB 2jGoc6gIpv7UkfhDfq0u7Wl8kW47wUPWL2+jZoRp2OFkDcq/FkmUfOdfb4JjCUulvTLT Xidg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=aad1+BhojPkWpxEfNRsOBfx7FAN/Phl2Kk3jkf+zqT4=; b=jOZ+4zWZ6mcxxvEPDqhVuvEHnkFqD93SQy4ewI5MLjaSY/SdGu3L6QtxPJe+TbLu4m KBaUIrkrW5v+pPExSPi718uYfLI37KpiTv0mKRpWdY7B/f2Lr0wUD1I3NbUVKsaDLNm2 s5eUFI9OJP8GvJ+4OT/V2NiO+Fvpn8pMrprBJslS1GFfQ+/BZoUsEzGC+aIU18FIDGn6 KpZo/y/Lg2tnk3EEhbMwYNmepZD4ck88gcn05mJYB9df6guWeN1hfXyUcKgKGSQKTuaM V31BJwJTCHKqzCLmVkExcYezCrw4GAlsAIZiaxpxk18LH3MVy9ZB5I7A7cwh2GFTKUNj CaOw== X-Gm-Message-State: AOAM533fl9+El0wha6K97oP6OepqvXsikSIrWn+1sS3F5RFz2oxcTDdq DP5X/jDB9jmeVqAKRZSBj6HKVa0GSfwVMJGq X-Google-Smtp-Source: ABdhPJwGVPQwt7688cSxsvZLe8/Emq9qw1ahKliu5pVhFoCywAVnLVoPRB6G/WfqG+zJ5JI0rIgeTg== X-Received: by 2002:a17:906:5f96:: with SMTP id a22mr1405065eju.168.1603451696614; Fri, 23 Oct 2020 04:14:56 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a10sm594466edu.78.2020.10.23.04.14.55 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Oct 2020 04:14:56 -0700 (PDT) From: Michal Simek <michal.simek@xilinx.com> To: u-boot@lists.denx.de, git@xilinx.com Cc: Peng Fan <peng.fan@nxp.com> Subject: [PATCH v2 3/8] mmc: zynq_sdhci: Move macro to the top Date: Fri, 23 Oct 2020 13:14:41 +0200 Message-Id: <362e03e09664bc40571e21b23cd68a2a250f84d5.1603451681.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <cover.1603451681.git.michal.simek@xilinx.com> References: <cover.1603451681.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
mmc: zynqmp_sdhci: Add support for Tap delay
|
expand
|
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 4f62bd008d24..998a38450680 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -19,6 +19,8 @@ #include <sdhci.h> #include <zynqmp_tap_delay.h> +#define SDHCI_TUNING_LOOP_COUNT 40 + struct arasan_sdhci_plat { struct mmc_config cfg; struct mmc mmc; @@ -46,8 +48,6 @@ static const u8 mode2timing[] = { [MMC_HS_200] = MMC_TIMING_MMC_HS200, }; -#define SDHCI_TUNING_LOOP_COUNT 40 - static void arasan_zynqmp_dll_reset(struct sdhci_host *host, u8 deviceid) { u16 clk;