uboot/drivers/mmc
Tom Rini 180f87fcc5 mmc_write.c: Make mmc_berase do 32bit safe 64bit math
We want to see if the requested start or total block count are
unaligned.  We discard the whole numbers and only care about the
remainder.  Update the code to use div_u64_rem here and add a comment.

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Bernhard Nortmann <bernhard.nortmann@web.de>
Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tested-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-06-18 16:11:41 -04:00
..
Kconfig
Makefile x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
arm_pl180_mmci.c
arm_pl180_mmci.h
bcm2835_sdhci.c ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver 2015-05-05 12:29:42 +03:00
bfin_sdh.c
davinci_mmc.c
dw_mmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
exynos_dw_mmc.c mmc: exynos dwmmc: check boot mode before init dwmmc 2015-02-23 19:49:22 +02:00
fsl_esdhc.c Merge git://git.denx.de/u-boot-mpc85xx 2015-05-05 14:57:23 -04:00
fsl_esdhc_spl.c
ftsdc010_mci.c
ftsdc021_sdhci.c
gen_atmel_mci.c
kona_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
mmc.c Merge git://git.denx.de/u-boot-mpc85xx 2015-05-05 14:57:23 -04:00
mmc_private.h mmc: fsl_esdhc: Add adapter card type identification support 2015-05-04 09:25:19 -07:00
mmc_spi.c
mmc_write.c mmc_write.c: Make mmc_berase do 32bit safe 64bit math 2015-06-18 16:11:41 -04:00
mv_sdhci.c mv_sdhci: fix warnings on 64-bit builds 2015-03-18 09:56:17 +02:00
mvebu_mmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
mxcmmc.c
mxsmmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
omap_hsmmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
pci_mmc.c x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
pxa_mmc_gen.c
rpmb.c
s3c_sdi.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
s5p_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
sdhci.c mmc: sdhci: add timeout setting for response busy command 2015-05-05 12:29:42 +03:00
sh_mmcif.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
sh_mmcif.h
sh_sdhi.c
socfpga_dw_mmc.c
spear_sdhci.c
sunxi_mmc.c sunxi: mmc: Enable pull-up on card-detect gpio pin 2015-06-04 14:08:28 +02:00
tegra_mmc.c tegra: mmc: Set the removable flag correctly 2015-05-05 12:29:42 +03:00
zynq_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00