summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
825 goto nand_read_error; 825 goto nand_read_error;
826 } 826 }
827 827
828#ifdef CPU_TCC780X /* 77x doesn't have USEC_TIMER yet */
829 if (TIME_AFTER(USEC_TIMER, next_yield)) 828 if (TIME_AFTER(USEC_TIMER, next_yield))
830 { 829 {
831 next_yield = USEC_TIMER + MIN_YIELD_PERIOD; 830 next_yield = USEC_TIMER + MIN_YIELD_PERIOD;
832 yield(); 831 yield();
833 } 832 }
834#endif
835 833
836 inbuf += SECTOR_SIZE; 834 inbuf += SECTOR_SIZE;
837 incount--; 835 incount--;