switch-coreboot/src/commonlib/storage
Lee Leahy f968a4c970 commonlib/storage: Zero extend MMC capacity
Fix CID 1376472 detected by coverity.  Zero extend the capacity instead
of sign extending it.

TEST=Build and run on reef

Change-Id: I6aac422fb1dacb75e0cc44a94ff1f467ce9f529e
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/20392
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-06-27 21:55:49 +00:00
..
bouncebuf.c
bouncebuf.h
Kconfig
Makefile.inc
mmc.c commonlib/storage: Zero extend MMC capacity 2017-06-27 21:55:49 +00:00
mmc.h
pci_sdhci.c
sd.c
sd_mmc.c
sd_mmc.h
sdhci.c
sdhci.h
sdhci_adma.c
sdhci_display.c
storage.c
storage.h
storage_erase.c
storage_write.c