diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-06-13 09:02:55 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-12-03 14:51:17 +0300 |
commit | 95ead3d98de4e2ccdd5b36efb9ca3d2a97835d7e (patch) | |
tree | 0c54b3a181c523e76610dc43d7e399709e1d4e1d /drivers/mmc/tmio-common.h | |
parent | d34bd2deda65f099b47305b4cecbdd58106884fe (diff) | |
download | u-boot-95ead3d98de4e2ccdd5b36efb9ca3d2a97835d7e.tar.xz |
mmc: tmio: sdhi: Move tap_pos to private data
Move the tap_pos variable, which is the HS200/HS400/SDR104 calibration
offset, into private data, so it can be passed around. This is done in
preparation for the HS400 mode, which needs to adjust this value.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/tmio-common.h b/drivers/mmc/tmio-common.h index 6591c61c3c..9a427b5311 100644 --- a/drivers/mmc/tmio-common.h +++ b/drivers/mmc/tmio-common.h @@ -135,6 +135,9 @@ struct tmio_sd_priv { #if CONFIG_IS_ENABLED(CLK) struct clk clk; #endif +#if CONFIG_IS_ENABLED(RENESAS_SDHI) + u8 tap_set; +#endif ulong (*clk_get_rate)(struct tmio_sd_priv *); }; |