summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/setbuffer.c
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2013-02-17 00:23:42 +0000
committergonzo <gonzo@FreeBSD.org>2013-02-17 00:23:42 +0000
commit49100b4dc28e35ff854e4ad41151175587323b1f (patch)
tree3c195b128c49f153627090d146a6f89f41f2b7a0 /lib/libc/stdio/setbuffer.c
parentbaf1079adc1673d7cdbb130249a0af6b71b8a5eb (diff)
downloadFreeBSD-src-49100b4dc28e35ff854e4ad41151175587323b1f.zip
FreeBSD-src-49100b4dc28e35ff854e4ad41151175587323b1f.tar.gz
- Add hw.bcm2835.sdhci.hs tunable to enable/disable highspeed mode in
SDHCI driver Suggested by: Daisuke Aoyama - Set initilization sequence frequency to 8MHz. It should fix Data CRC errors. Standard requires initialization sequence to be executed at 400KHz but on this hardware low frequncies seems to cause Data CRC errors. Value was derived from analyzing hardware signals after Raspberry Pi is powered up. Before any data is read though DATA line adapter's clock frequency is changed to 8MHz. Modern cards should function fine at 8MHz but for older MMC cards it can be overriden by setting hw.bcm2835.sdhci.min_freq tunable.
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud