mmc: fsl_esdhc_imx: simplify 64bit check for SDMA transfers
authorSean Anderson <sean.anderson@seco.com>
Tue, 23 Nov 2021 20:03:42 +0000 (15:03 -0500)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Jan 2022 00:56:40 +0000 (09:56 +0900)
commited9e9b2213b6fe09005349057afa33a044bdd4d3
tree109466bb83e2fcfba41f0df8df596c1764f959db
parent4ea11bf241cc19612fc1352d886e64890561f344
mmc: fsl_esdhc_imx: simplify 64bit check for SDMA transfers

[ fsl_esdhc commit da86e8cfcb03ed5c1d8e0718bc8bc8583e60ced8 ]

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>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/fsl_esdhc_imx.c