aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/sdhci-internal.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-01-16 13:28:19 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-01-16 13:28:19 +0000
commit24bddf9d4a278018e38ed7380871a5d1a0c65f34 (patch)
tree6d322574a1a11ef6e144cd33e2401aec39929366 /hw/sd/sdhci-internal.h
parent8be487d8f184f2f721cabeac559fb7a6cba18c95 (diff)
downloadqemu-24bddf9d4a278018e38ed7380871a5d1a0c65f34.zip
qemu-24bddf9d4a278018e38ed7380871a5d1a0c65f34.tar.gz
qemu-24bddf9d4a278018e38ed7380871a5d1a0c65f34.tar.bz2
sdhci: move MASK_TRNMOD with other SDHC_TRN* defines in "sd-internal.h"
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: 20180115182436.2066-10-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/sd/sdhci-internal.h')
-rw-r--r--hw/sd/sdhci-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sd/sdhci-internal.h b/hw/sd/sdhci-internal.h
index 248fd02..e941bc2 100644
--- a/hw/sd/sdhci-internal.h
+++ b/hw/sd/sdhci-internal.h
@@ -43,6 +43,7 @@
#define SDHC_TRNS_ACMD12 0x0004
#define SDHC_TRNS_READ 0x0010
#define SDHC_TRNS_MULTI 0x0020
+#define SDHC_TRNMOD_MASK 0x0037
/* R/W Command Register 0x0 */
#define SDHC_CMDREG 0x0E