diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2019-11-23 13:36:25 +0100 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2019-11-27 16:56:46 +0800 |
commit | 56b0bb96befdaf0a63b0d17914c5e4402360b6b3 (patch) | |
tree | 6f9f578aad94e7aff84fbc01feba5aa498162c18 /drivers/mmc/tmio-common.h | |
parent | 1bdcb83d293614dc770a7b76229da61ee19855bf (diff) | |
download | u-boot-56b0bb96befdaf0a63b0d17914c5e4402360b6b3.tar.gz |
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.h | 1 |
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 *); }; |