diff options
| author | John Rigby <[email protected]> | 2011-04-18 05:50:08 +0000 |
|---|---|---|
| committer | Andy Fleming <[email protected]> | 2011-04-29 03:21:54 -0500 |
| commit | 8feafcc49c0b7a9c541904f95a43dbef2fecc38b (patch) | |
| tree | 0ba20c111634ddbb2513db50d3a3f05009f2cc08 /board/eNET/eNET.c | |
| parent | 28df15e0234a773cfec98c2775915abe1472db3c (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 <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
Diffstat (limited to 'board/eNET/eNET.c')
0 files changed, 0 insertions, 0 deletions
