diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-11-10 13:01:46 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-11-10 13:01:46 +0000 |
commit | 889b8c96da5ed39d249f7b59c77316f63b7178f7 (patch) | |
tree | 2d0140fa204275499b2008bfefa63291f194b42f /firmware/target | |
parent | 59a9699027e791a7de29e7d9293748dc0dbb436a (diff) |
quick fix for the e200v2 to skip the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19067 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 6722e8e94a..828e025870 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c @@ -519,8 +519,11 @@ int sd_read_sectors(IF_MV2(int drive,) unsigned long start, int incount, int remaining = incount; const unsigned long *fifo_base = MMC_FIFO(drive); +#if defined(SANSA_E200V2) + start += 61440; +#else start += 20480; /* skip SanDisk OF */ - +#endif /* TODO: Add DMA support. */ mutex_lock(&sd_mtx); |