diff options
author | Winter Wang <wente.wang@nxp.com> | 2016-11-17 18:53:11 +0800 |
---|---|---|
committer | Winter Wang <wente.wang@nxp.com> | 2016-11-30 20:12:02 +0800 |
commit | a442e4e7b50f52be3940d6bd885bbbff51171f05 (patch) | |
tree | bb447aac3457ca97a8261c8325405b1fb6a6bb85 | |
parent | 23f4e9958ef04d98e0b10e016e7941cabd258fdb (diff) | |
download | u-boot-imx-a442e4e7b50f52be3940d6bd885bbbff51171f05.zip u-boot-imx-a442e4e7b50f52be3940d6bd885bbbff51171f05.tar.gz u-boot-imx-a442e4e7b50f52be3940d6bd885bbbff51171f05.tar.bz2 |
MA-9077 mmc: support emmc 5.1
as uboot didn't officially support emmc version > 5.0
force use 5.0 if hardware is 5.1
Change-Id: If18b0d721d44ce7c87c59b17d6090db094e8b75d
Signed-off-by: Winter Wang <wente.wang@nxp.com>
-rw-r--r-- | drivers/mmc/mmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 830d9ae..2bff97c 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1216,6 +1216,11 @@ static int mmc_startup(struct mmc *mmc) case 7: mmc->version = MMC_VERSION_5_0; break; + case 8: + /* FIXME should be 5.1 but no official support in + * uboot now, rollback to 5.0 */ + mmc->version = MMC_VERSION_5_0; + break; } /* The partition data may be non-zero but it is only |