]> git.baikalelectronics.ru Git - uboot.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)
commit70aefb3b8a745c3f969988df0a254120cc49aebb
tree87aa57220971aa8bb233e29ab997662e3325ccdc
parent57cb817add6811ec1890b81966a51ed1816a07ae
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