]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: simplify 64bit check for SDMA transfers
authorMichael Walle <michael@walle.cc>
Wed, 23 Sep 2020 10:42:47 +0000 (12:42 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 12 Oct 2020 07:48:50 +0000 (15:48 +0800)
commitda86e8cfcb03ed5c1d8e0718bc8bc8583e60ced8
tree0c8624d786d3408fece575dea9082234a730e8dd
parent9098682200e6cca4b776638a51200dafa16f50fb
mmc: fsl_esdhc: simplify 64bit check for SDMA transfers

SDMA can only do DMA with 32 bit addresses. This is true for all
architectures (just doesn't apply to 32 bit ones). Simplify the code and
remove unnecessary CONFIG_FSL_LAYERSCAPE.

Also make the error message more concise.

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