aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.h
diff options
context:
space:
mode:
authorMarek Vasut2019-11-23 13:36:24 +0100
committerPeng Fan2019-11-27 16:56:46 +0800
commit1bdcb83d293614dc770a7b76229da61ee19855bf (patch)
tree31ce411410ad465f06124ffb8e187a95e1b63749 /drivers/mmc/tmio-common.h
parent6900066cf67cb95503a922088eed4b31cccba8c2 (diff)
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 79f51d21af6..f39118e337f 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 *);
};