mmc: add MMC_VERSION_5_1

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
This commit is contained in:
Stefan Wahren 2016-06-16 17:54:06 +00:00 committed by Tom Rini
parent 333463d669
commit 1a3619cf82
2 changed files with 4 additions and 0 deletions

View 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

View 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)