MMC: Fix for capacity calculation on eMMC
The current mmc driver returns erroneous capacity information for eMMC. The capacity of eMMC devices is available only in the ext-CSD register. This patch add code to read the ext-CDSD register and correctly calculate eMMC capacity. Signed-off-by: NSukumar Ghorai <s-ghorai@ti.com> Acked-by: NSteve Sakoman <steve@sakoman.com>
Showing
想要评论请 注册 或 登录