From: Ian Campbell Date: Thu, 24 Sep 2015 16:13:12 +0100 Subject: [U-Boot] [PATCH v2] sunxi: mmc: Fix clk-delay settings In-Reply-To: <1443105105-1321-1-git-send-email-hdegoede@redhat.com> References: <1443105105-1321-1-git-send-email-hdegoede@redhat.com> Message-ID: <1443107592.25250.12.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2015-09-24 at 16:31 +0200, Hans de Goede wrote: > In recent allwinner kernel sources the mmc/sdio clk-delay settings have > been slightly tweaked, and for sun9i they are completely different then > what we are using. > > This commit brings us in sync with what allwinner does, fixing problems > accessing sdcards on some A33 devices (and likely others). > > For pre sun9i hardware this makes the following changes: > -At 400Khz change the sample delay from 7 to 0 (first introduced in A31 > sdk) > -At 50 Mhz change the sample delay from 5 to 4 (first introduced in A23 > sdk) > -Above 50 MHz change the out delay from 2 to 1 (first introduced in A20 > sdk) > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell