All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/7] mmc: zynq_sdhci: Move macro to the top
Date: Fri, 22 May 2020 12:44:07 +0200	[thread overview]
Message-ID: <489334342da8b1b8e39048d8d800aefd2ff1c459.1590144247.git.michal.simek@xilinx.com> (raw)
In-Reply-To: <cover.1590144247.git.michal.simek@xilinx.com>

Just group macros below headers. Other patches will be using this location
too.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 drivers/mmc/zynq_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 02583f76f936..1c83aab84021 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;
-- 
2.26.2

  parent reply	other threads:[~2020-05-22 10:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 10:44 [PATCH 0/7] mmc: zynqmp_sdhci: Add support for Tap delay Michal Simek
2020-05-22 10:44 ` [PATCH 1/7] Revert "mmc: zynq: parse dt when probing" Michal Simek
2020-05-27  6:44   ` Jaehoon Chung
2020-06-08 13:16     ` Michal Simek
2020-06-09 11:43       ` Jaehoon Chung
2020-05-22 10:44 ` [PATCH 2/7] mmc: zynq_sdhci: Define timing macro's Michal Simek
2020-05-27  6:47   ` Jaehoon Chung
2020-05-27  6:58     ` Faiz Abbas
2020-06-10  9:18       ` Ashok Reddy Soma
2020-06-10 10:16         ` Faiz Abbas
2020-06-10 10:37         ` Jaehoon Chung
2020-06-10 11:18           ` Ashok Reddy Soma
2020-05-22 10:44 ` Michal Simek [this message]
2020-05-22 10:44 ` [PATCH 4/7] mmc: zynq_sdhci: Read clock phase delays from dt Michal Simek
2020-05-22 10:44 ` [PATCH 5/7] mmc: zynq_sdhci: Set tapdelays based on clk phase delays Michal Simek
2020-05-22 10:44 ` [PATCH 6/7] mmc: zynq_sdhci: Add clock phase delays for Versal Michal Simek
2020-05-22 10:44 ` [PATCH 7/7] mmc: zynq_sdhci: Extend UHS timings till hs200 Michal Simek

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=489334342da8b1b8e39048d8d800aefd2ff1c459.1590144247.git.michal.simek@xilinx.com \
    --to=michal.simek@xilinx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.