U-boot: Bug-Fix size comparisions in mmc erase function
authorMoiz Sonasath <m-sonasath@ti.com>
Fri, 16 Jul 2010 17:04:07 +0000 (12:04 -0500)
committerVikram Pandita <vikram.pandita@ti.com>
Tue, 10 Aug 2010 17:59:14 +0000 (12:59 -0500)
commitd2d49b2e63855a3eaee2056a82e6eb5e33c0980c
tree0731c9cf855ab67d62c4aee55817fdac7d1592b9
parentc6468f1780be8285aad9b769fface135b2a35c88
U-boot: Bug-Fix size comparisions in mmc erase function

Here, the card size (mmc_size->size) is defined in terms of sectors and is
compared against bytes (start and size), so change everything in terms
of sectors for a uniform comparision.

Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
cpu/omap3/mmc.c