summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorVitja Makarov <vitja.makarov@gmail.com>2009-09-21 08:53:24 +0000
committerVitja Makarov <vitja.makarov@gmail.com>2009-09-21 08:53:24 +0000
commitd9490178ff85b9b5af673826613d2a5b134b8783 (patch)
tree719803d6f23eb9aee66d8df820eccf2c662d6788 /firmware/target/arm
parent0152fe604b7b68937151f7bebd01f1d9542ac2e6 (diff)
ata-nand-telechips: tcc77x have now USEC_TIMER
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/ata-nand-telechips.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c
index 4875ea6dc0..54c1c2a4ba 100644
--- a/firmware/target/arm/ata-nand-telechips.c
+++ b/firmware/target/arm/ata-nand-telechips.c
@@ -825,13 +825,11 @@ int nand_read_sectors(IF_MD2(int drive,) unsigned long start, int incount,
goto nand_read_error;
}
-#ifdef CPU_TCC780X /* 77x doesn't have USEC_TIMER yet */
if (TIME_AFTER(USEC_TIMER, next_yield))
{
next_yield = USEC_TIMER + MIN_YIELD_PERIOD;
yield();
}
-#endif
inbuf += SECTOR_SIZE;
incount--;