diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-07-17 23:19:21 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-07-17 23:19:21 +0000 |
commit | c247483ef18360668c997ab64dc7345eaf65209c (patch) | |
tree | 865c45fd016b02ee750ce4aebefc4fa01901176d /firmware | |
parent | e12fdfcfb0a512d35e9ea1006187c9eb32bbf3f8 (diff) | |
download | rockbox-c247483ef18360668c997ab64dc7345eaf65209c.tar.gz rockbox-c247483ef18360668c997ab64dc7345eaf65209c.zip |
fix ata-nand-s5l8700 compilation properly this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21938 a1c6a512-1295-4272-9138-f99709370657
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); | |||
38 | int nand_read_sectors(IF_MD2(int drive,) unsigned long start, int count, void* buf); | 38 | int nand_read_sectors(IF_MD2(int drive,) unsigned long start, int count, void* buf); |
39 | int nand_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const void* buf); | 39 | int nand_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const void* buf); |
40 | void nand_spin(void); | 40 | void nand_spin(void); |
41 | int nand_spinup_time(void); /* ticks */ | ||
41 | 42 | ||
42 | #ifdef STORAGE_GET_INFO | 43 | #ifdef STORAGE_GET_INFO |
43 | void nand_get_info(IF_MD2(int drive,) struct storage_info *info); | 44 | 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 @@ | |||
29 | #include "usb.h" | 29 | #include "usb.h" |
30 | 30 | ||
31 | /* for compatibility */ | 31 | /* for compatibility */ |
32 | int nand_spinup_time = 0; | ||
33 | |||
34 | long last_disk_activity = -1; | 32 | long last_disk_activity = -1; |
35 | 33 | ||
36 | /** static, private data **/ | 34 | /** static, private data **/ |