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:20:01 -05:00
2011-04-20 15:09:19 -05:00
2011-04-13 19:43:28 +10:00
2011-04-13 19:43:28 +10:00
2011-04-20 15:09:34 -05:00
2011-04-20 15:09:19 -05:00
2011-04-29 03:21:54 -05:00
2011-02-02 00:54:42 +01:00
2011-03-27 19:19:54 +02:00
2011-04-28 01:00:07 +02:00
2011-04-25 01:45:29 -04:00
2011-04-20 15:09:34 -05:00
2011-02-19 20:32:36 +01:00