commit | f2f4366ef4167f3debfef7a40a8e56331f7bded3 | [log] [tgz] |
---|---|---|
author | John Rigby <john.rigby@linaro.org> | Mon Apr 18 05:50:08 2011 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Fri Apr 29 03:21:54 2011 -0500 |
tree | 0ba20c111634ddbb2513db50d3a3f05009f2cc08 | |
parent | e603559725c4999ee078d50f7d284b436678e8ce [diff] |
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>