From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Xu Date: Mon, 05 Jul 2010 14:09:15 +0800 Subject: [U-Boot] [PATCH] AT91SAM9260/9XE: add support for MultiMedia Card Interface (MCI) In-Reply-To: <4C308A84.2040208@emk-elektronik.de> References: <4C308A84.2040208@emk-elektronik.de> Message-ID: <4C31770B.1020407@atmel.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 Reinhard, Could you please rebase your code to master@ git://git.denx.de/u-boot-at91.git ? Thanks! BR, Eric Reinhard Meyer (-VC) wrote: > > This patch adds support for the Atmel MultiMedia Card Interface (MCI) > in AT91SAM9260 and AT91SAM9XE SoCs and preserves the original support > for the AVR32AP700x SoCs. > It patches the original atmel_mci.c driver to remove byte order and > toolchain dependencies and makes it a common MCI driver for > Atmels AVR32AP7000 and AT91SAM9260 based SoCs. > The driver itself is not specific to those SoCs and should work with > other Atmel devices having an identical MultiMedia Card Interface (MCI), > provided the functions get_mci_clk_rate() and _mci_hw_init() are > defined. > > Tested on AT91SAM9XE-EK (AT91SAM9XE512) > Tested on ATNGW100 (AVR32AP7000) > > Signed-off-by: Reinhard Meyer > --- > arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 20 ++++ > arch/arm/include/asm/arch-at91/clk.h | 5 + > arch/arm/include/asm/arch-at91/hardware.h | 1 + > doc/README.atmel_mci | 68 +++++++++++++ > drivers/mmc/atmel_mci.c | 112 > ++++++++++----------- > drivers/mmc/atmel_mci.h | 6 +- > include/mmc.h | 93 > ++++++++++------- > 7 files changed, 207 insertions(+), 98 deletions(-) > create mode 100644 doc/README.atmel_mci >