Sansa AMS AS3525v2 SD: remove a case which is never run

Reindent

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24552 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-02-07 19:09:59 +00:00
parent e25728e2d2
commit 1e6847db75

View file

@ -639,6 +639,7 @@ static int sd_transfer_sectors(unsigned long start, int count, void* buf, bool w
const int cmd =
write ? SD_WRITE_MULTIPLE_BLOCK : SD_READ_MULTIPLE_BLOCK;
(*(volatile unsigned long *) (SD_BASE+0x00)) |= 2;
while(( *(volatile unsigned long *) (SD_BASE+0x00)) & 2) ;
@ -650,17 +651,10 @@ static int sd_transfer_sectors(unsigned long start, int count, void* buf, bool w
(*(volatile unsigned long *) (SD_BASE+0x4c)) &= ~0x7fff0fff;
if(0)
{
(*(volatile unsigned long *) (SD_BASE+0x00)) |= 0x20;
MCI_MASK = 0xBE8C;
(*(volatile unsigned long *) (SD_BASE+0x4c)) |= 0x503f0080;
}
else
{
MCI_MASK = 0xBEB8;
(*(volatile unsigned long *) (SD_BASE+0x4c)) |= 0x3f0030;
}
if(card_info.ocr & (1<<30) ) /* SDHC */
ret = send_cmd(cmd, start, MCI_NO_RESP, NULL);