sd-as3525v2: unaligned transfers are handled properly (with memcpy)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24866 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f7a30a4b08
commit
0af879c21a
1 changed files with 0 additions and 3 deletions
|
@ -527,9 +527,6 @@ static int sd_transfer_sectors(unsigned long start, int count, void* buf, bool w
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if((int)buf & 3)
|
|
||||||
panicf("unaligned transfer");
|
|
||||||
|
|
||||||
/* skip SanDisk OF */
|
/* skip SanDisk OF */
|
||||||
start += 0xf000;
|
start += 0xf000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue