Skip to content
Snippets Groups Projects
Commit 639b7827 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Andy Fleming
Browse files

mmc: fix the condition for MMC version 4


Fix the problem that if we use the chip of MMC version 4 and
the capacity is smaller than 2GB or equal, the mmc->capacity is
invalid. According to the JEDEC Standard, the value of ext_csd's
capacity is valid if the value is more than 2GB.

Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: default avatarAndy Fleming <afleming@freescale.com>
parent e75787d9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment