summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-23 01:00:21 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-23 01:00:21 +0000
commit0af879c21a06a36442a57b506aab063d2b089ba9 (patch)
treef4562c3037b7135e0dd83f4c2a9f2527df1bb791 /firmware
parentf7a30a4b081537e3908bec72bbc4312e76f28ab9 (diff)
downloadrockbox-0af879c21a06a36442a57b506aab063d2b089ba9.tar.gz
rockbox-0af879c21a06a36442a57b506aab063d2b089ba9.tar.bz2
rockbox-0af879c21a06a36442a57b506aab063d2b089ba9.zip
sd-as3525v2: unaligned transfers are handled properly (with memcpy)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24866 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 16449d5249..b0a3c021a7 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -527,9 +527,6 @@ static int sd_transfer_sectors(unsigned long start, int count, void* buf, bool w
{
int ret = 0;
- if((int)buf & 3)
- panicf("unaligned transfer");
-
/* skip SanDisk OF */
start += 0xf000;