summaryrefslogtreecommitdiff
path: root/firmware/target/mips
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-07-17 16:34:34 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-07-17 16:34:34 +0000
commitbdb5974c0ef05ca548beabdd2ece0512a60024f9 (patch)
tree3d0fe4215ab3f1fdb2b0588f4d034e5d514874ea /firmware/target/mips
parentcf9935d6362dd52e4b2f33dd19fff0a0860814d7 (diff)
downloadrockbox-bdb5974c0ef05ca548beabdd2ece0512a60024f9.tar.gz
rockbox-bdb5974c0ef05ca548beabdd2ece0512a60024f9.zip
Revert r21912 : "Storage API : remove undeeded target-specific functions"
After a discussion mixed on mailing list and irc, it was agreed that more abstraction for plugins is better (so developers don't have to add a check to HAVE_DISK_STORAGE when writing disk-specific code) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c
index 28325033b0..d9189280e8 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c
@@ -685,6 +685,34 @@ int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const
685 return -1; 685 return -1;
686} 686}
687 687
688void nand_spindown(int seconds)
689{
690 /* null */
691 (void)seconds;
692}
693
694bool nand_disk_is_active(void)
695{
696 /* null */
697 return false;
698}
699
700void nand_sleep(void)
701{
702 /* null */
703}
704
705void nand_spin(void)
706{
707 /* null */
708}
709
710int nand_soft_reset(void)
711{
712 /* null */
713 return 0;
714}
715
688void nand_enable(bool on) 716void nand_enable(bool on)
689{ 717{
690 /* null - flash controller is enabled/disabled as needed. */ 718 /* null - flash controller is enabled/disabled as needed. */