diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-09-23 16:13:10 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-09-29 11:50:07 +0200 |
commit | be90974c4375cec40a91f389dfba244c20b08ef7 (patch) | |
tree | d2494e6e5993e4991ac3c77cdbde5a3a726634c5 /arch | |
parent | 31c5614af406bdb686c305d707eee2a0898d864e (diff) | |
download | u-boot-imx-be90974c4375cec40a91f389dfba244c20b08ef7.zip u-boot-imx-be90974c4375cec40a91f389dfba244c20b08ef7.tar.gz u-boot-imx-be90974c4375cec40a91f389dfba244c20b08ef7.tar.bz2 |
sunxi: mmc: Fix clk-delay settings
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 <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions