summaryrefslogtreecommitdiff
path: root/drivers/mmc/matsushita-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-04-08 17:41:14 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2018-04-11 23:11:57 +0200
commitdb1266d69648aa58a2c59273e4d3b773e0fd4f0f (patch)
treed563de7a904f18364b4ebcc482fbbb8f6e2f182c /drivers/mmc/matsushita-common.h
parent620fd85c0b650b4061ba5c989276d58c27280be2 (diff)
mmc: uniphier: Add support for 16bit variant
Add support for 16bit mutation of the Matsushita SD IP. Since some registers are internally 32bit, the matsu_sd_{read,write}l() has to special-case this 16bit variant a bit. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/mmc/matsushita-common.h')
-rw-r--r--drivers/mmc/matsushita-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/matsushita-common.h b/drivers/mmc/matsushita-common.h
index e517a2d56b..c1b28a0128 100644
--- a/drivers/mmc/matsushita-common.h
+++ b/drivers/mmc/matsushita-common.h
@@ -123,6 +123,7 @@ struct matsu_sd_priv {
#define MATSU_SD_CAP_DMA_INTERNAL BIT(1) /* have internal DMA engine */
#define MATSU_SD_CAP_DIV1024 BIT(2) /* divisor 1024 is available */
#define MATSU_SD_CAP_64BIT BIT(3) /* Controller is 64bit */
+#define MATSU_SD_CAP_16BIT BIT(4) /* Controller is 16bit */
};
int matsu_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,