summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-12 11:15:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-13 10:24:52 +0100
commit0560c251266468b8ac042be24fcb2b4a6a7e39fc (patch)
treed03e8a62dba0494f69f1516957e5c50340b9f2e6
parented04a7c3c8741204bf566f4662c7b56c409bbce3 (diff)
downloadbarebox-0560c251266468b8ac042be24fcb2b4a6a7e39fc.tar.gz
barebox-0560c251266468b8ac042be24fcb2b4a6a7e39fc.tar.xz
mci: imx-esdhc: Actually enable cache snooping
15b64fd520 introduced the ESDHC_FLAG_CACHE_SNOOPING for layerscape support, but didn't actually set it for layerscape. Add the new flag to the layerscape SoC data. Fixes: 15b64fd520 ("mci: imx-esdhc: Add layerscape support") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mci/imx-esdhc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index cedfb3db42..84c65d5d61 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -740,7 +740,8 @@ static struct esdhc_soc_data usdhc_imx6sx_data = {
};
static struct esdhc_soc_data esdhc_ls_data = {
- .flags = ESDHC_FLAG_MULTIBLK_NO_INT | ESDHC_FLAG_BIGENDIAN,
+ .flags = ESDHC_FLAG_MULTIBLK_NO_INT | ESDHC_FLAG_BIGENDIAN |
+ ESDHC_FLAG_CACHE_SNOOPING,
};
static __maybe_unused struct of_device_id fsl_esdhc_compatible[] = {