]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: zynq_sdhci: Add common function to set input/output tapdelays
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 23 Oct 2020 10:59:04 +0000 (04:59 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 29 Oct 2020 07:55:43 +0000 (08:55 +0100)
commit728d21b8c75e3c13a19b4a555d08a4478efa8fe6
tree6b7c63c9230cc53154001201d9646f71aa02cb5a
parentd3d880b41a7cd72d2cdf5656ea2dd108a81560b6
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>
board/xilinx/zynqmp/tap_delays.c
include/zynqmp_tap_delay.h