summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2022-09-09 16:23:32 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2022-10-24 18:01:23 +0900
commit2b0dd4174f36e1f57f32116e44cb6e0e84fb2c67 (patch)
treee52572c1463cbc2df7e2671e05834fdc53a4812c /include/sdhci.h
parentfc6b5d82607f2c351455a8048a3dbc6169987c13 (diff)
downloadu-boot-2b0dd4174f36e1f57f32116e44cb6e0e84fb2c67.tar.gz
u-boot-2b0dd4174f36e1f57f32116e44cb6e0e84fb2c67.tar.bz2
u-boot-2b0dd4174f36e1f57f32116e44cb6e0e84fb2c67.zip
mmc: sdhci: Add new quirks for SUPPORT_SINGLE
This patch defines a quirk to disable the block count for single block transactions. This is similar to Linux kernel commit d3fc5d71ac4d ("mmc: sdhci: add a quirk for single block transactions"). Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 88f1917480..24b4599b85 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -247,6 +247,7 @@
#define SDHCI_QUIRK_WAIT_SEND_CMD (1 << 6)
#define SDHCI_QUIRK_USE_WIDE8 (1 << 8)
#define SDHCI_QUIRK_NO_1_8_V (1 << 9)
+#define SDHCI_QUIRK_SUPPORT_SINGLE (1 << 10)
/* to make gcc happy */
struct sdhci_host;