John Rigby 8feafcc49c 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 <john.rigby@linaro.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2011-04-29 03:21:54 -05:00
..
2011-04-29 03:21:54 -05:00
2011-04-29 03:21:54 -05:00
2011-04-29 03:21:54 -05:00
2011-04-29 03:21:54 -05:00
2011-04-13 06:35:22 -05:00
2011-04-29 03:21:54 -05:00
2011-04-29 03:21:54 -05:00
2011-04-29 03:21:54 -05:00
2010-10-19 22:46:22 +02:00
2009-02-20 03:47:50 +01:00
2011-04-29 03:21:54 -05:00