summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-23 13:33:07 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-23 13:33:07 +0000
commitb4ce43f5cc321bebad5e9bc5893d34e913f10c6d (patch)
tree725f95a2f7642eed7e6752bba8d64ac2bed0dacd /firmware/target
parent7edf65d2d230ad8179fea4a4f6b3bed4f62c3992 (diff)
sd-as3525.c: disable wide bus, it corrupts writes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27087 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/sd-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525.c b/firmware/target/arm/as3525/sd-as3525.c
index 423181ab7a..e1acea2a0d 100644
--- a/firmware/target/arm/as3525/sd-as3525.c
+++ b/firmware/target/arm/as3525/sd-as3525.c
@@ -361,7 +361,7 @@ static int sd_init_card(const int drive)
if(!send_cmd(drive, SD_SELECT_CARD, card_info[drive].rca, MCI_RESP|MCI_ARG, &response))
return -10;
-#ifndef BOOTLOADER
+#if 0 /* FIXME : it seems that write corrupts the filesystem */
/* Switch to to 4 bit widebus mode */
if(sd_wait_for_tran_state(drive) < 0)
return -11;