commit | d23e2c09a7900ec4c208e602b608ae2399e6d536 | [log] [tgz] |
---|---|---|
author | Sukumar Ghorai <s-ghorai@ti.com> | Mon Sep 20 18:29:29 2010 +0530 |
committer | Wolfgang Denk <wd@denx.de> | Sun Oct 17 20:14:06 2010 +0200 |
tree | eebe5846ec1bcd07094e7ab332aab75f7a6d7730 | |
parent | 7b7903ec6a1c693c98e9dea512b91eb59cfd0cf6 [diff] |
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: Sukumar Ghorai <s-ghorai@ti.com> Acked-by: Steve Sakoman <steve@sakoman.com>