]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: add MMC_VERSION_5_1
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 16 Jun 2016 17:54:06 +0000 (17:54 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 20 Jun 2016 09:14:46 +0000 (05:14 -0400)
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
drivers/mmc/mmc.c
include/mmc.h

index 758655850bb10ae38266e14b57c52bc08a89dda4..aabfc711e5d6fe40d001c3b6eabec9e37f43000b 100644 (file)
@@ -1227,6 +1227,9 @@ static int mmc_startup(struct mmc *mmc)
                case 7:
                        mmc->version = MMC_VERSION_5_0;
                        break;
+               case 8:
+                       mmc->version = MMC_VERSION_5_1;
+                       break;
                }
 
                /* The partition data may be non-zero but it is only
index 7fdfc324fea2b7f41440caee314fa7b743ca067c..f383925ade2c5a846952175158997591035e357a 100644 (file)
@@ -49,6 +49,7 @@
 #define MMC_VERSION_4_41       MAKE_MMC_VERSION(4, 4, 1)
 #define MMC_VERSION_4_5                MAKE_MMC_VERSION(4, 5, 0)
 #define MMC_VERSION_5_0                MAKE_MMC_VERSION(5, 0, 0)
+#define MMC_VERSION_5_1                MAKE_MMC_VERSION(5, 1, 0)
 
 #define MMC_MODE_HS            (1 << 0)
 #define MMC_MODE_HS_52MHz      (1 << 1)