]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: zynq_sdhci: Use Mask writes for Tap delays
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 9 Jul 2021 11:53:41 +0000 (05:53 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jul 2021 07:18:45 +0000 (09:18 +0200)
commit253a23f8d485af3d0a23ec147ab6be5a8daea027
tree22f3679579c0e6465eb7f9c9889d2111799c17e6
parentc826068422b6192ff437641d067c5c11d5941811
mmc: zynq_sdhci: Use Mask writes for Tap delays

Restrict tap_delay value to the allowed size(8bits for itap and 6 bits
for otap) before writing to the tap delay register.

Clear ITAP and OTAP delay bits before updating with the new tap value
for Versal platform.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/zynq_sdhci.c