summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-18 21:35:51 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-18 21:35:51 +0000
commit676708c43f399b0686f4af59046396bcc5a710a0 (patch)
treed30725d7a7d8480c2c7c125d468f88dd13889f7f /firmware/target/arm/as3525
parent2a72e0af308dfb63ac40137a365125d116c06aea (diff)
AMSv2: enable storage write in bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31355 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 1df7f33978..717d5dd744 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -978,17 +978,7 @@ int sd_read_sectors(IF_MD2(int drive,) unsigned long start, int count,
int sd_write_sectors(IF_MD2(int drive,) unsigned long start, int count,
const void* buf)
{
-#if defined(BOOTLOADER) /* we don't need write support in bootloader */
-#ifdef HAVE_MULTIDRIVE
- (void) drive;
-#endif
- (void) start;
- (void) count;
- (void) buf;
- return -1;
-#else
return sd_transfer_sectors(IF_MD2(drive,) start, count, (void*)buf, true);
-#endif /* defined(BOOTLOADER) */
}
#ifndef BOOTLOADER