diff options
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | 2020-10-23 13:59:04 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-10-29 10:55:43 +0300 |
commit | 728d21b8c75e3c13a19b4a555d08a4478efa8fe6 (patch) | |
tree | 6b7c63c9230cc53154001201d9646f71aa02cb5a /include/zynqmp_tap_delay.h | |
parent | d3d880b41a7cd72d2cdf5656ea2dd108a81560b6 (diff) | |
download | u-boot-728d21b8c75e3c13a19b4a555d08a4478efa8fe6.tar.xz |
mmc: zynq_sdhci: Add common function to set input/output tapdelays
Remove setting tapdelays for different speeds separately. Instead use
the ITAP and OTAP delay values which are read from the device tree.
If the DT does not contain tap delay values, the predefined values
will be used for the same.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/zynqmp_tap_delay.h')
-rw-r--r-- | include/zynqmp_tap_delay.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zynqmp_tap_delay.h b/include/zynqmp_tap_delay.h index b07e3e0692..7b713438f7 100644 --- a/include/zynqmp_tap_delay.h +++ b/include/zynqmp_tap_delay.h @@ -10,10 +10,11 @@ #ifdef CONFIG_ARCH_ZYNQMP void zynqmp_dll_reset(u8 deviceid); -void arasan_zynqmp_set_tapdelay(u8 device_id, u8 uhsmode, u8 bank); +void arasan_zynqmp_set_tapdelay(u8 device_id, u32 itap_delay, u32 otap_delay); #else inline void zynqmp_dll_reset(u8 deviceid) {} -inline void arasan_zynqmp_set_tapdelay(u8 device_id, u8 uhsmode, u8 bank) {} +inline void arasan_zynqmp_set_tapdelay(u8 device_id, u32 itap_delay, + u32 otap_delay) {} #endif #endif |