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:
Rafaël Carré 2010-02-23 01:00:21 +00:00
parent f7a30a4b08
commit 0af879c21a

View file

@ -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;