summaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2019-11-23 15:36:18 +0300
committerPeng Fan <peng.fan@nxp.com>2019-11-27 11:56:46 +0300
commit37c399066409f0923cbe45b49cf0a12c85afe4f4 (patch)
treebe538139a48ac7ede62dcf5227a3ba5784035646 /drivers/mmc/tmio-common.h
parent0196a58a792f37d2c80ba6a50f52da15950937c9 (diff)
downloadu-boot-37c399066409f0923cbe45b49cf0a12c85afe4f4.tar.xz
mmc: tmio: sdhi: Track SMPCMP valu in private data
Retain the SMPCMP value from last calibration in private data. This will be later used for skipping bad taps. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/mmc/tmio-common.h')
-rw-r--r--drivers/mmc/tmio-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/tmio-common.h b/drivers/mmc/tmio-common.h
index da89cc90c2..79f51d21af 100644
--- a/drivers/mmc/tmio-common.h
+++ b/drivers/mmc/tmio-common.h
@@ -137,6 +137,7 @@ struct tmio_sd_priv {
struct clk clk;
#endif
#if CONFIG_IS_ENABLED(RENESAS_SDHI)
+ unsigned int smpcmp;
u8 tap_set;
u8 tap_num;
u8 nrtaps;