diff options
author | Markus Niebel <Markus.Niebel@tq-group.com> | 2014-11-18 15:13:53 +0100 |
---|---|---|
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2014-12-12 20:34:20 +0200 |
commit | edab723b47bfba617efb55f97d01e273546ec2bf (patch) | |
tree | c951824419a60b30ba63da1e9a80509c84de7d84 | |
parent | d7b2912991bb18db26b6c6b51cdc637142e21d3e (diff) | |
download | u-boot-imx-edab723b47bfba617efb55f97d01e273546ec2bf.zip u-boot-imx-edab723b47bfba617efb55f97d01e273546ec2bf.tar.gz u-boot-imx-edab723b47bfba617efb55f97d01e273546ec2bf.tar.bz2 |
MMC: add MMC_VERSION_5_0
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.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 4a8cf65..99f03c9 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -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; } /* diff --git a/include/mmc.h b/include/mmc.h index 9b26924..fcea195 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -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) |