diff options
Diffstat (limited to 'firmware/target/arm/tcc780x/ata-nand-tcc780x.c')
-rw-r--r-- | firmware/target/arm/tcc780x/ata-nand-tcc780x.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/target/arm/tcc780x/ata-nand-tcc780x.c b/firmware/target/arm/tcc780x/ata-nand-tcc780x.c index b47444f3a8..4cf55c0c3c 100644 --- a/firmware/target/arm/tcc780x/ata-nand-tcc780x.c +++ b/firmware/target/arm/tcc780x/ata-nand-tcc780x.c | |||
@@ -39,9 +39,6 @@ long last_disk_activity = -1; | |||
39 | /** static, private data **/ | 39 | /** static, private data **/ |
40 | static bool initialized = false; | 40 | static bool initialized = false; |
41 | 41 | ||
42 | static long next_yield = 0; | ||
43 | #define MIN_YIELD_PERIOD 2000 | ||
44 | |||
45 | static struct mutex ata_mtx SHAREDBSS_ATTR; | 42 | static struct mutex ata_mtx SHAREDBSS_ATTR; |
46 | 43 | ||
47 | #define SECTOR_SIZE 512 | 44 | #define SECTOR_SIZE 512 |
@@ -740,7 +737,11 @@ int ata_read_sectors(IF_MV2(int drive,) unsigned long start, int incount, | |||
740 | int ata_write_sectors(IF_MV2(int drive,) unsigned long start, int count, | 737 | int ata_write_sectors(IF_MV2(int drive,) unsigned long start, int count, |
741 | const void* outbuf) | 738 | const void* outbuf) |
742 | { | 739 | { |
743 | #warning function not implemented | 740 | #ifdef HAVE_MULTIVOLUME |
741 | (void)drive; /* unused for now */ | ||
742 | #endif | ||
743 | |||
744 | /* TODO: Learn more about TNFTL and implement this one day... */ | ||
744 | (void)start; | 745 | (void)start; |
745 | (void)count; | 746 | (void)count; |
746 | (void)outbuf; | 747 | (void)outbuf; |