From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfPmt-00030P-MV for barebox@lists.infradead.org; Thu, 23 May 2013 07:18:12 +0000 Date: Thu, 23 May 2013 09:17:49 +0200 From: Sascha Hauer Message-ID: <20130523071749.GA32299@pengutronix.de> References: <1369209114-11357-1-git-send-email-s.trumtrar@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1369209114-11357-1-git-send-email-s.trumtrar@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v2] mci i.MX esdhc: Fix clock divider calculation To: Steffen Trumtrar Cc: barebox@lists.infradead.org On Wed, May 22, 2013 at 09:51:54AM +0200, Steffen Trumtrar wrote: > From: Sascha Hauer > > This updates the i.MX esdhc divider settings to FSLs U-Boot. > Current timings work fine for SD cards, but not for eMMC. > Although the calculation is fine according to the datasheet and reading from > eMMC works, writing is broken. Atleast on i.MX53/tqma53. > With this patch the result is the same, but uses different divider values to > achieve it. > > While at it, replace the udelay with a busy-loop. > > Signed-off-by: Sascha Hauer > Signed-off-by: Steffen Trumtrar Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox