
Dear Sven,
On 21.10.2011 14:49, Sven Schnelle wrote:
gen_atmel_mci works on AVR32 as well, so no need to use the legacy mmc driver. This also has the nice side effect of being able to use SDHC cards an those boards.
Signed-off-by: Sven Schnelle svens@stackframe.org
arch/avr32/lib/board.c | 6 + board/atmel/atngw100/atngw100.c | 10 ++ board/atmel/atstk1000/atstk1000.c | 10 ++ drivers/mmc/atmel_mci.h | 245 ------------------------------------ include/atmel_mci.h | 247 +++++++++++++++++++++++++++++++++++++ include/configs/atngw100.h | 4 +- include/configs/atstk1002.h | 4 +- include/configs/atstk1003.h | 3 +- include/configs/atstk1004.h | 4 +- include/configs/atstk1006.h | 4 +- include/configs/favr-32-ezkit.h | 3 +- include/configs/hammerhead.h | 3 +- include/configs/mimc200.h | 3 +- include/mmc.h | 1 - 14 files changed, 293 insertions(+), 254 deletions(-) delete mode 100644 drivers/mmc/atmel_mci.h create mode 100644 include/atmel_mci.h
I did test this driver and decided to apply it now to u-boot-avr32 but unfortunately there is one final issue. You switched all avr32 boards to the generic driver by changing the board includes but missed the necessary 'int board_mmc_init(bd_t *bd)' in some boards (namely mimc200, hammerhead and favr-32-ezkit).
I guess you can not react suddenly on this mail and I'd like to apply it now. Therefore I will modify this patch and provide a weak 'int board_mmc_init(bd_t *bd)' in board.c.
regards
Andreas Bießmann