Sansa AMS: Reorganize sd_enable() and add/change comments. No real functional changes.
commit621527d4504cb7d62e67128ff468c36e41bf5608
authorFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Tue, 1 Dec 2009 18:22:25 +0000 (1 18:22 +0000)
committerFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Tue, 1 Dec 2009 18:22:25 +0000 (1 18:22 +0000)
tree1023dc8e8984bbc87d13ac516926610e38b8175f
parent4d9cb33cd2babdc3311b35693117bcb8018ad61f
Sansa AMS:  Reorganize sd_enable() and add/change comments.  No real functional changes.

Enabling/disabling of the NAF and IDE clocks is now grouped together as both are related to the internal SD.
Sequence for disabling SD now mirrors the enable sequence.
Comments added to make it easier to follow the configuration change for XPD from gpio to mci-sd and back.

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