sd-as3525.c: disable wide bus, it corrupts writes
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Wed, 23 Jun 2010 13:33:07 +0000 (23 13:33 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Wed, 23 Jun 2010 13:33:07 +0000 (23 13:33 +0000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27087 a1c6a512-1295-4272-9138-f99709370657

firmware/target/arm/as3525/sd-as3525.c

index 423181a..e1acea2 100644 (file)
@@ -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;