]> Git Repo - J-u-boot.git/commit
MMC: make b_max unconditional
authorJohn Rigby <[email protected]>
Mon, 18 Apr 2011 05:50:08 +0000 (05:50 +0000)
committerAndy Fleming <[email protected]>
Fri, 29 Apr 2011 08:21:54 +0000 (03:21 -0500)
commit8feafcc49c0b7a9c541904f95a43dbef2fecc38b
tree0ba20c111634ddbb2513db50d3a3f05009f2cc08
parent28df15e0234a773cfec98c2775915abe1472db3c
MMC: make b_max unconditional

Make existing field b_max field in struct mmc unconditional
and use it instead of CONFIG_SYS_MMC_MAX_BLK_COUNT in mmc_bread
and mmc_bwrite.

Initialize b_max to CONFIG_SYS_MMC_MAX_BLK_COUNT in mmc_register
if it has not been initialized by the hw driver.

Initialize b_max to 0 in all callers to mmc_register.

Signed-off-by: John Rigby <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/bfin_sdh.c
drivers/mmc/davinci_mmc.c
drivers/mmc/gen_atmel_mci.c
drivers/mmc/mmc.c
drivers/mmc/mxcmmc.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/s5p_mmc.c
include/mmc.h
This page took 0.05268 seconds and 4 git commands to generate.