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:
parent
3e8a2bfa12
commit
a4c0660537
1 changed files with 5 additions and 3 deletions
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue