1
0
Fork 0
forked from len0rd/rockbox

cleanup storage defines

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-10-31 21:25:04 +00:00
parent 3aa5832808
commit 19d1cacb1a
71 changed files with 142 additions and 114 deletions

View file

@ -39,7 +39,7 @@
* by not overlapping ata_write_sector() with USB transfers. This does reduce
* write performance, so we only do it for the affected DAPs
*/
#ifdef HAVE_ATA_SD
#if (CONFIG_STORAGE & STORAGE_SD)
#define SERIALIZE_WRITES
#endif
/* Enable the following define to export only the SD card slot. This
@ -668,7 +668,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
block_size = SECTOR_SIZE;
block_count = RAMDISK_SIZE;
#else
#if defined(HAVE_ATA_SD) || defined(HAVE_HOTSWAP)
#if (CONFIG_STORAGE & STORAGE_SD) || defined(HAVE_HOTSWAP)
tCardInfo* cinfo = card_get_info(lun);
if(cinfo->initialized && cinfo->numblocks > 0) {
block_size = cinfo->blocksize;