From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sami Kantoluoto Date: Tue, 1 Sep 2009 14:57:46 +0300 Subject: [U-Boot] [PATCH] AT91: Add SD/MMC controller support In-Reply-To: <1251794241-13397-1-git-send-email-albin.tonnerre@free-electrons.com> References: <1251794241-13397-1-git-send-email-albin.tonnerre@free-electrons.com> Message-ID: <20090901115746.GM16004@embedtronics.fi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 01, 2009 at 10:37:21AM +0200, Albin Tonnerre 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 > --- > cpu/arm926ejs/at91/at91cap9_devices.c | 36 ++++++++++++++++++ > cpu/arm926ejs/at91/at91sam9260_devices.c | 27 +++++++++++++ > cpu/arm926ejs/at91/at91sam9261_devices.c | 18 +++++++++ > cpu/arm926ejs/at91/at91sam9263_devices.c | 54 +++++++++++++++++++++++++++ > cpu/arm926ejs/at91/at91sam9m10g45_devices.c | 54 +++++++++++++++++++++++++++ > cpu/arm926ejs/at91/at91sam9rl_devices.c | 22 +++++++++++ > cpu/arm926ejs/at91/cpu.c | 7 +++ > include/asm-arm/arch-at91/at91_common.h | 2 + > include/asm-arm/arch-at91/clk.h | 5 ++ > include/asm-arm/arch-at91/hardware.h | 18 +++++++++ > include/asm-arm/arch-at91/memory-map.h | 1 + > 11 files changed, 244 insertions(+), 0 deletions(-) [snip] > diff --git a/cpu/arm926ejs/at91/at91sam9260_devices.c b/cpu/arm926ejs/at91/at91sam9260_devices.c For some reason this doesn't apply cleanly. I patched the file manually and it worked. -sk