AMS Sansa: For consistency, replace references to SECTOR_SIZE with SD_BLOCK_SIZE...
commit573962381a3c407cb353117ca2e312561a5cc194
authorFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Wed, 25 Nov 2009 03:24:28 +0000 (25 03:24 +0000)
committerFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Wed, 25 Nov 2009 03:24:28 +0000 (25 03:24 +0000)
tree76f78ae0cdf898d78fb638d2be296d14cbc6c8d4
parent26dcc50c90e5e3ee5bfd9afbe9ed4d86d0702f1a
AMS Sansa:  For consistency, replace references to SECTOR_SIZE with SD_BLOCK_SIZE which is defined in sd.h as 512 bytes.

We had 3 different references to the same value.  Rockbox always uses a blocksize of 512 bytes for SD and we were using SECTOR_SIZE, SD_BLOCK_SIZE, & card_info[drive].blocksize to use this value.  Now the only reference being used is SD_BLOCK_SIZE.

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