]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MMC: add MMC_VERSION_5_0
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Tue, 18 Nov 2014 14:13:53 +0000 (15:13 +0100)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Fri, 12 Dec 2014 18:34:20 +0000 (20:34 +0200)
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c
include/mmc.h

index 4a8cf65f792e10189cab438b3f009bcae5643146..99f03c9101ff970a59c162ed6bbf89688532f97d 100644 (file)
@@ -1001,6 +1001,9 @@ static int mmc_startup(struct mmc *mmc)
                case 6:
                        mmc->version = MMC_VERSION_4_5;
                        break;
+               case 7:
+                       mmc->version = MMC_VERSION_5_0;
+                       break;
                }
 
                /*
index 9b26924f76b4ce31bde2e868513c3c5112bb3205..fcea195ea5673ce0e0bbe40e96f0706d44b48190 100644 (file)
@@ -31,6 +31,7 @@
 #define MMC_VERSION_4_3                (MMC_VERSION_MMC | 0x403)
 #define MMC_VERSION_4_41       (MMC_VERSION_MMC | 0x429)
 #define MMC_VERSION_4_5                (MMC_VERSION_MMC | 0x405)
+#define MMC_VERSION_5_0                (MMC_VERSION_MMC | 0x500)
 
 #define MMC_MODE_HS            (1 << 0)
 #define MMC_MODE_HS_52MHz      (1 << 1)