forked from len0rd/rockbox
fix ata-nand-s5l8700 compilation properly this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21938 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e12fdfcfb0
commit
c247483ef1
2 changed files with 1 additions and 2 deletions
|
@ -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_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);
|
int nand_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const void* buf);
|
||||||
void nand_spin(void);
|
void nand_spin(void);
|
||||||
|
int nand_spinup_time(void); /* ticks */
|
||||||
|
|
||||||
#ifdef STORAGE_GET_INFO
|
#ifdef STORAGE_GET_INFO
|
||||||
void nand_get_info(IF_MD2(int drive,) struct storage_info *info);
|
void nand_get_info(IF_MD2(int drive,) struct storage_info *info);
|
||||||
|
|
|
@ -29,8 +29,6 @@
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
|
|
||||||
/* for compatibility */
|
/* for compatibility */
|
||||||
int nand_spinup_time = 0;
|
|
||||||
|
|
||||||
long last_disk_activity = -1;
|
long last_disk_activity = -1;
|
||||||
|
|
||||||
/** static, private data **/
|
/** static, private data **/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue