[Bug 1223] SD card no longer operational with 2.6.24
Andy Green
andy at openmoko.com
Sat Feb 16 15:09:06 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
> http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1223
>
>
>
>
>
> ------- Additional Comments From balrogg at gmail.com 2008-02-16 14:42 -------
> A quick potential fix for the only-first-byte-transferred (but probably
> only-every-fourth-byte-transferred-ok) issue:
>
> in linux-2.6/drivers/mmc/host/s3cmci.c
> - *(host->pio_ptr) = readl(from_ptr);
> + *(u32 *) host->pio_ptr = readl(from_ptr);
wah good catch!
/* and a major chunk of data in the middle */
for (; fifo >= 4; fifo -=4) {
*(host->pio_ptr) = readl(from_ptr); <=====
host->pio_ptr+= 4;
}
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHtu6COjLpvpq7dMoRAi+2AJ4jyWmUbvc+nIgp8rvOs8RCy4PFVQCfRHo+
v/WFk9u936jLVkopo3m8i0k=
=n6zF
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list