1
0
Fork 0
forked from len0rd/rockbox

add the OF offset also for sansa fuze, and make it only for internal SD.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19108 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2008-11-15 19:24:51 +00:00
parent 3e8a2bfa12
commit a4c0660537

View file

@ -519,10 +519,12 @@ 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;
/* skip SanDisk OF */
if (drive == NAND_AS3525)
#if defined(SANSA_E200V2) || defined(SANSA_FUZE)
start += 61440;
#else
start += 20480; /* skip SanDisk OF */
start += 20480;
#endif
/* TODO: Add DMA support. */