[U-Boot] [PATCH v3] AT91: Add SD/MMC controller support

Wolfgang Denk wd at denx.de
Sun Nov 22 22:17:53 CET 2009


Dear Albin Tonnerre,

In message <1252442374-25386-1-git-send-email-albin.tonnerre at free-electrons.com> you wrote:
> This patch allows to use the atmel_mci SD/MMC driver on the at91 architecture.
> It contains:
>  - initialization code for the MCI controller for all the supported AT91. It
>    allows the use of only one controller even if a SoC has two controllers
>    (anyway there's no support for it in atmel_mci as of now)
>  - the necessary get_mci_clk_rate function
>  - definition of MMCI_BASE for use in atmel_mci
>  - the cpu_mmc_init function. As of now this is not used, but will be required
>    when atmel_mci is ported to the new generic mmc API.
> 
> Signed-off-by: Albin Tonnerre <albin.tonnerre at free-electrons.com>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> Changes since v1
>  - Fix the MCI controller ID in the init code for CAP9, SAM9263 and SAM9G45
>  - Move AT91_BASE_MCI* define to soc header
>  - define AT91_BASE_MCI{0,1} instead of AT91_BASE_MCI for boards which have 2
>    controllers
>  - rework the way MMCI_BASE is defined accordingly
> 
> Changes since v2
>  - allow using 8-bit bus width on CPUs that support it
>  - change the arguments of atmel_mciX_hw_init to (slot, bus) so that it's more
>    meaningful than (bitmask)

What's the current state of this patch? Do you consider it ripe for
inclusion into mainline, or do you still have changes pending?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q:  How many DEC repairman does it take to fix a flat?
A:  Five; four to hold the car up and one to swap tires.
Q:  How long does it take?
A:  It's indeterminate.  It will depend upon how many flats they've
    brought with them.
Q:  What happens if you've got TWO flats?
A:  They replace your generator.


More information about the U-Boot mailing list