ata-nand-telechips: tcc77x have now USEC_TIMER

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22763 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Vitja Makarov 2009-09-21 08:53:24 +00:00
parent 0152fe604b
commit d9490178ff

View file

@ -825,13 +825,11 @@ int nand_read_sectors(IF_MD2(int drive,) unsigned long start, int incount,
goto nand_read_error; goto nand_read_error;
} }
#ifdef CPU_TCC780X /* 77x doesn't have USEC_TIMER yet */
if (TIME_AFTER(USEC_TIMER, next_yield)) if (TIME_AFTER(USEC_TIMER, next_yield))
{ {
next_yield = USEC_TIMER + MIN_YIELD_PERIOD; next_yield = USEC_TIMER + MIN_YIELD_PERIOD;
yield(); yield();
} }
#endif
inbuf += SECTOR_SIZE; inbuf += SECTOR_SIZE;
incount--; incount--;