From 1741c64d642a95c4bb88a2b03e96c6dc7ed5fe62 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Tue, 29 Jan 2013 22:58:16 +0000 Subject: mmc: check the revision for sd3.0 Support to check whether the SD3.0 or not. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park Tested-by: Rommel Custodio --- drivers/mmc/mmc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/mmc/mmc.c') diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 72b725462e..f65a7b005a 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -784,6 +784,8 @@ retry_scr: break; case 2: mmc->version = SD_VERSION_2; + if ((mmc->scr[0] >> 15) & 0x1) + mmc->version = SD_VERSION_3; break; default: mmc->version = SD_VERSION_1_0; -- cgit