diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/nand.h | 1 | ||||
-rw-r--r-- | firmware/target/arm/s5l8700/ata-nand-s5l8700.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/nand.h b/firmware/export/nand.h index 3faed7a644..67ebe73ddf 100644 --- a/firmware/export/nand.h +++ b/firmware/export/nand.h @@ -38,6 +38,7 @@ void nand_close(void); int nand_read_sectors(IF_MD2(int drive,) unsigned long start, int count, void* buf); int nand_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const void* buf); void nand_spin(void); +int nand_spinup_time(void); /* ticks */ #ifdef STORAGE_GET_INFO void nand_get_info(IF_MD2(int drive,) struct storage_info *info); diff --git a/firmware/target/arm/s5l8700/ata-nand-s5l8700.c b/firmware/target/arm/s5l8700/ata-nand-s5l8700.c index f268558128..100bb7c20b 100644 --- a/firmware/target/arm/s5l8700/ata-nand-s5l8700.c +++ b/firmware/target/arm/s5l8700/ata-nand-s5l8700.c @@ -29,8 +29,6 @@ #include "usb.h" /* for compatibility */ -int nand_spinup_time = 0; - long last_disk_activity = -1; /** static, private data **/ |