summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2017-05-18 14:01:13 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-07-06 14:42:59 +0200
commit34bfb60fc8a0ad54a4409ff02a999569028ab60f (patch)
tree49579f143b08a4968f2d7d8a9b34938120d0e210 /drivers
parent0d28a59cd1d8bd3e84f6e3b413717e35dcc2cea2 (diff)
downloadbarebox-34bfb60fc8a0ad54a4409ff02a999569028ab60f.tar.gz
barebox-34bfb60fc8a0ad54a4409ff02a999569028ab60f.tar.xz
mmc: add eMMC v5 and V5.1 detection support
Just add the defines. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mci/mci-core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index b6ef506540..07911d43d7 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -770,6 +770,12 @@ static void mci_correct_version_from_ext_csd(struct mci *mci)
case 6:
mci->version = MMC_VERSION_4_5;
break;
+ case 7:
+ mci->version = MMC_VERSION_5_0;
+ break;
+ case 8:
+ mci->version = MMC_VERSION_5_1;
+ break;
}
}
}