summaryrefslogtreecommitdiffstats
path: root/firmware/storage.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-07-17 22:39:41 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-07-17 22:39:41 +0000
commit92a7418415e738e51d36e4f9406c07352f12bddf (patch)
tree69ed9a0fa2a86d6ac3d5141cd5fdc9c15282a353 /firmware/storage.c
parentc0a5a67387c4eec3db3bad4da77ba5126faf03c4 (diff)
downloadrockbox-92a7418415e738e51d36e4f9406c07352f12bddf.tar.gz
rockbox-92a7418415e738e51d36e4f9406c07352f12bddf.tar.bz2
rockbox-92a7418415e738e51d36e4f9406c07352f12bddf.zip
don't try to call nand_soft_reset() or nand_disk_is_active(), they don't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21934 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/storage.c')
-rw-r--r--firmware/storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/storage.c b/firmware/storage.c
index 1528d03919..8c3d69d87c 100644
--- a/firmware/storage.c
+++ b/firmware/storage.c
@@ -256,7 +256,7 @@ bool storage_disk_is_active(void)
#endif
#if (CONFIG_STORAGE & STORAGE_NAND)
- if (nand_disk_is_active()) return true;
+ //if (nand_disk_is_active()) return true;
#endif
#if (CONFIG_STORAGE & STORAGE_RAMDISK)
@@ -283,14 +283,14 @@ int storage_soft_reset(void)
#endif
#if (CONFIG_STORAGE & STORAGE_NAND)
- if ((rc=nand_soft_reset())) return rc;
+ //if ((rc=nand_soft_reset())) return rc;
#endif
#if (CONFIG_STORAGE & STORAGE_RAMDISK)
if ((rc=ramdisk_soft_reset())) return rc;
#endif
- return 0;
+ return rc;
}
void storage_spin(void)