From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Sat, 10 Mar 2012 12:26:31 +0100 Subject: [U-Boot] [PATCH 1/2] ATMEL: use generic mmc framework In-Reply-To: <1319201366-9132-2-git-send-email-svens@stackframe.org> References: <1319201366-9132-1-git-send-email-svens@stackframe.org> <1319201366-9132-2-git-send-email-svens@stackframe.org> Message-ID: <4F5B3A67.9030609@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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