From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 20 Aug 2009 01:42:04 +0200 Subject: [U-Boot] [PATCH/RFC] drivers/mmc/mmc.c: change the controller frequency before the card frequency In-Reply-To: <1250684211-19217-1-git-send-email-albin.tonnerre@free-electrons.com> References: <1250684211-19217-1-git-send-email-albin.tonnerre@free-electrons.com> Message-ID: <20090819234204.GL8470@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14:16 Wed 19 Aug , Albin Tonnerre wrote: > While rewriting the atmel_mci driver to use the new MMC_GENERIC API (and allow > the use of SD/MMC on AT91 in the process), it appeared that switching the card > frequency before the controller frequency resulted in the answer from the card > never being received. Changing the controller frequency before the controller > frequency fixes that. IIRC it's not correct you are supposed to switch the card to higherfreq and then the bus speed could show the patch of the atmel_mci to help Best Regards, J.