u-boot/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
..
arm_pl180_mmci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
bcm2835_sdhci.c ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver 2015-05-05 12:29:42 +03:00
bfin_sdh.c mmc: set correct block size value in bfin sdh driver 2014-10-03 17:26:49 +03:00
davinci_mmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
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 driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
ftsdc010_mci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
ftsdc021_sdhci.c mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
gen_atmel_mci.c MMC: atmel_mci: enable high speed mode support 2014-08-01 20:01:33 +03:00
Kconfig mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
kona_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
Makefile x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07: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: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
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 mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
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 linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
rpmb.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
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 mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
sh_sdhi.c mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
socfpga_dw_mmc.c arm: socfpga: mmc: Pick the clock from clock manager 2014-10-06 17:46:49 +02:00
spear_sdhci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
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