diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2016-06-16 17:54:06 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-20 05:14:46 -0400 |
commit | 1a3619cf825fcef15ebe0fac6d65a9af1bc0588c (patch) | |
tree | f668a2898c4f3eea95c0a9536327a51d748de319 | |
parent | 333463d6698b9e7b8a36c7fd3bd5887c34e5cd71 (diff) | |
download | u-boot-1a3619cf825fcef15ebe0fac6d65a9af1bc0588c.tar.gz |
mmc: add MMC_VERSION_5_1
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
-rw-r--r-- | drivers/mmc/mmc.c | 3 | ||||
-rw-r--r-- | include/mmc.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 758655850b..aabfc711e5 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -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 diff --git a/include/mmc.h b/include/mmc.h index 7fdfc324fe..f383925ade 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -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) |