summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2015-03-19 07:44:02 -0500
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-05-05 11:50:37 +0300
commit3f2da751beb84861ba0a999aaea09e73f578022a (patch)
treeef945e15808f47961407b15184e4d109a2d521ec /include/mmc.h
parentace97d26176a3ebc9ec07738450de93eea35975c (diff)
downloadu-boot-imx-3f2da751beb84861ba0a999aaea09e73f578022a.zip
u-boot-imx-3f2da751beb84861ba0a999aaea09e73f578022a.tar.gz
u-boot-imx-3f2da751beb84861ba0a999aaea09e73f578022a.tar.bz2
mmc: Fix typo in MMC type checking macro
The version flag constant name used in IS_MMC macro is incorrect/undefined. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 2ad0f19..a251531 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -61,7 +61,7 @@
#define SD_DATA_4BIT 0x00040000
#define IS_SD(x) ((x)->version & SD_VERSION_SD)
-#define IS_MMC(x) ((x)->version & SD_VERSION_MMC)
+#define IS_MMC(x) ((x)->version & MMC_VERSION_MMC)
#define MMC_DATA_READ 1
#define MMC_DATA_WRITE 2