Revert r21912 : "Storage API : remove undeeded target-specific functions"
commit12edfbe33d79b411570de09d01ebcd79ef5fbd40
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Fri, 17 Jul 2009 16:34:34 +0000 (17 16:34 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Fri, 17 Jul 2009 16:34:34 +0000 (17 16:34 +0000)
tree3d0fe4215ab3f1fdb2b0588f4d034e5d514874ea
parentda7dc80e1541548d31feb911e8c36059776874c4
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
15 files changed:
apps/plugin.c
apps/plugin.h
apps/plugins/clock/clock_settings.c
apps/plugins/jpeg/jpeg.c
apps/plugins/mpegplayer/disk_buf.c
apps/plugins/video.c
apps/plugins/wavplay.c
firmware/drivers/sd.c
firmware/export/mmc.h
firmware/export/nand.h
firmware/export/sd.h
firmware/export/storage.h
firmware/target/arm/ata-nand-telechips.c
firmware/target/arm/s5l8700/ata-nand-s5l8700.c
firmware/target/mips/ingenic_jz47xx/ata-nand-jz4740.c