[U-Boot] [PATCH v3] ATMEL: use generic mmc framework

Andreas Bießmann andreas.devel at googlemail.com
Tue Mar 13 14:33:41 CET 2012


On 10.03.2012 13:45, Andreas Bießmann wrote:
> From: Sven Schnelle <svens at stackframe.org>
> 
> 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 at stackframe.org>
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
> ---
> changes since v2:
>  * remove board_mmc_init in atstk100x and atngw100 files in favour of
>    cpu_mmc_init
>  * add cpu_mmc_init to arch/avr32/lib/board.c
>  * add CONFIG_SYS_MMC_MAX_BLK_COUNT 1 to _every_ changed board config
>  * replace 'mmcinit' by 'mmc rescan' in provided environment
> 
>  arch/avr32/lib/board.c               |   15 +++++++++++++++
>  {drivers/mmc => include}/atmel_mci.h |    8 +++++---
>  include/configs/atngw100.h           |    4 +++-
>  include/configs/atstk1002.h          |    4 +++-
>  include/configs/atstk1003.h          |    5 +++--
>  include/configs/atstk1004.h          |    6 ++++--
>  include/configs/atstk1006.h          |    4 +++-
>  include/configs/favr-32-ezkit.h      |    4 +++-
>  include/configs/hammerhead.h         |    4 +++-
>  include/configs/mimc200.h            |    4 +++-
>  include/mmc.h                        |    1 -
>  11 files changed, 45 insertions(+), 14 deletions(-)
>  rename {drivers/mmc => include}/atmel_mci.h (98%)

applied to u-boot-avr32



More information about the U-Boot mailing list