diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:56 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:56 +0000 |
commit | 401b3513cfd1495fee115a21a5be0c7020d862c3 (patch) | |
tree | d1ea077d50bb91fb187ecc799dff59d83553a7e0 /include/net/flow.h | |
parent | 3fb1c905f88b8a65a791dee7a8afe7fbf41e15c0 (diff) |
add-limit-sdcard-clk-cmdline.patch
This patch allows you to control the maximum clock rate that will
be selected for SD Card access, from the kernel commandline using
glamo_mci.sd_max_clk=10000000
and also from
echo 10000000 > /sys/module/glamo_mci/parameters/sd_max_clk
although you have to suspend and resume to make the limit operational
on the actual SD_CLK line.
Clocks that are possible are divided down from ~50MHz, so 25000000,
16666666, 12500000, 10000000, etc. With Freerunner A5 revision that
has 100R series resistors in SD Card signals, I didn't get reliable
operation above 16MHz. With A6 revision the series resistors went
down to 75R, maybe it can work at 25MHz.
Reducing the clock rate is something to try if you find that your
SD Card is not communicating properly with the default speed.
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'include/net/flow.h')
0 files changed, 0 insertions, 0 deletions