]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: simplify esdhc_setup_data()
authorMichael Walle <michael@walle.cc>
Wed, 23 Sep 2020 10:42:49 +0000 (12:42 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 12 Oct 2020 07:49:18 +0000 (15:49 +0800)
commit7e48a028a42c111ba38a90b86e5f57dace980fa0
tree87aa57220971aa8bb233e29ab997662e3325ccdc
parentb1ba1460a445bcc67972a617625d0349e4f22b31
mmc: fsl_esdhc: simplify esdhc_setup_data()

First, we need the waterlevel setting for PIO mode only. Secondy, both DMA
setup code is identical for both directions, except for the data pointer.
Thus, unify them.

Signed-off-by: Michael Walle <michael@walle.cc>
drivers/mmc/fsl_esdhc.c