summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/ata-nand-s5l8700.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-07-12 19:36:27 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-07-12 19:36:27 +0000
commit92fed35da6541a72ff6c7d09b33db059e6f6dadf (patch)
tree941bc244eff42cb1339cc8c27050ad53b65275cf /firmware/target/arm/s5l8700/ata-nand-s5l8700.c
parentc133c6a964133200c59b12e1f1c9214f37122189 (diff)
S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/ata-nand-s5l8700.c')
-rw-r--r--firmware/target/arm/s5l8700/ata-nand-s5l8700.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/ata-nand-s5l8700.c b/firmware/target/arm/s5l8700/ata-nand-s5l8700.c
index 8c66c14db5..ee1e581270 100644
--- a/firmware/target/arm/s5l8700/ata-nand-s5l8700.c
+++ b/firmware/target/arm/s5l8700/ata-nand-s5l8700.c
@@ -49,12 +49,19 @@ void nand_led(bool onoff)
int nand_read_sectors(IF_MV2(int drive,) unsigned long start, int incount,
void* inbuf)
{
-
+ (void)start;
+ (void)incount;
+ (void)inbuf;
+ return 0;
}
int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count,
const void* outbuf)
{
+ (void)start;
+ (void)count;
+ (void)outbuf;
+ return 0;
}
void nand_spindown(int seconds)
@@ -82,8 +89,22 @@ int nand_soft_reset(void)
void nand_enable(bool on)
{
+ (void)on;
+}
+
+void nand_get_info(IF_MV2(int drive,) struct storage_info *info)
+{
+ (void)info;
+}
+
+long nand_last_disk_activity(void)
+{
+ return 0;
}
int nand_init(void)
{
+ initialized = true;
+ return 0;
}
+