summaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2019-11-23 15:36:25 +0300
committerPeng Fan <peng.fan@nxp.com>2019-11-27 11:56:46 +0300
commit56b0bb96befdaf0a63b0d17914c5e4402360b6b3 (patch)
tree6f9f578aad94e7aff84fbc01feba5aa498162c18 /drivers/mmc/tmio-common.h
parent1bdcb83d293614dc770a7b76229da61ee19855bf (diff)
downloadu-boot-56b0bb96befdaf0a63b0d17914c5e4402360b6b3.tar.xz
mmc: tmio: sdhi: Add calibration tables
Instead of using single fixed value for the calibration offset, add tables which dynamically adjust this per calibration code from the SCC. 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 f39118e337..047458849b 100644
--- a/drivers/mmc/tmio-common.h
+++ b/drivers/mmc/tmio-common.h
@@ -146,6 +146,7 @@ struct tmio_sd_priv {
u8 adjust_hs400_offset;
u8 adjust_hs400_calibrate;
u8 hs400_bad_tap;
+ const u8 *adjust_hs400_calib_table;
#endif
ulong (*clk_get_rate)(struct tmio_sd_priv *);
};