summaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2019-11-23 15:36:24 +0300
committerPeng Fan <peng.fan@nxp.com>2019-11-27 11:56:46 +0300
commit1bdcb83d293614dc770a7b76229da61ee19855bf (patch)
tree31ce411410ad465f06124ffb8e187a95e1b63749 /drivers/mmc/tmio-common.h
parent6900066cf67cb95503a922088eed4b31cccba8c2 (diff)
downloadu-boot-1bdcb83d293614dc770a7b76229da61ee19855bf.tar.xz
mmc: tmio: sdhi: Skip bad taps
Some of the tuning taps produce suboptimal results. Add code which skips those "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 79f51d21af..f39118e337 100644
--- a/drivers/mmc/tmio-common.h
+++ b/drivers/mmc/tmio-common.h
@@ -145,6 +145,7 @@ struct tmio_sd_priv {
bool adjust_hs400_enable;
u8 adjust_hs400_offset;
u8 adjust_hs400_calibrate;
+ u8 hs400_bad_tap;
#endif
ulong (*clk_get_rate)(struct tmio_sd_priv *);
};