AMS Sansa: Remove BUSWIDTH and BLOCKLEN commands and revise strategy for High Speed...
commita53c64b2dbbeec3825dafdf579c49116a65ca99b
authorFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Mon, 12 Oct 2009 18:55:10 +0000 (12 18:55 +0000)
committerFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Mon, 12 Oct 2009 18:55:10 +0000 (12 18:55 +0000)
treee5f000dced0168dd23136961fc5ebd376a3ed652
parent68b6d6160b42bc3f4be1c44f5acee032d6adc2ac
AMS Sansa:  Remove BUSWIDTH and BLOCKLEN commands and revise strategy for High Speed SD Card.

We are unable to successfully put the pl180 controller into 4 bit mode so we should not put the cards into widebus mode for now.
The blocklength is hardcoded to 512 in sd.c and BLOCKLEN defaults to 512 so this command is not needed.
It appears the internal SD card is not HS capable but sending it the HS switch command does not seem to hinder it's init process.
Assume all SD_V2 cards are HS capable and send them the HS switch command.
If View disk info shows 50.0 MBit/s the card has HS timings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23137 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/ata_sd_as3525.c