diff options
author | Björn Stenberg <bjorn@haxx.se> | 2004-10-05 08:11:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2004-10-05 08:11:11 +0000 |
commit | b60b29f442081bde4300e674d56f9012feeab015 (patch) | |
tree | 845e9f0915c4564c1dd722708945b6acefd53d2f /firmware/drivers | |
parent | d2f2953a743040d5198587d34deead39d314340f (diff) | |
download | rockbox-b60b29f442081bde4300e674d56f9012feeab015.tar.gz rockbox-b60b29f442081bde4300e674d56f9012feeab015.zip |
Compile ata_mmc.c for targets with mmc, ata.c for all others.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5174 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/ata.c | 5 | ||||
-rw-r--r-- | firmware/drivers/ata_mmc.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 4ba5829f56..62b4fb6d8c 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -30,9 +30,6 @@ | |||
30 | #include "string.h" | 30 | #include "string.h" |
31 | #include "hwcompat.h" | 31 | #include "hwcompat.h" |
32 | 32 | ||
33 | /* skip whole file for an MMC-based system, FIXME in makefile */ | ||
34 | #ifndef HAVE_MMC | ||
35 | |||
36 | #if CONFIG_CPU == SCF5249 | 33 | #if CONFIG_CPU == SCF5249 |
37 | 34 | ||
38 | /* don't use sh7034 assembler routines */ | 35 | /* don't use sh7034 assembler routines */ |
@@ -1202,5 +1199,3 @@ int ata_init(void) | |||
1202 | 1199 | ||
1203 | return 0; | 1200 | return 0; |
1204 | } | 1201 | } |
1205 | |||
1206 | #endif /* #ifndef HAVE_MMC */ | ||
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 7a9a67839d..7a187f092b 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -33,9 +33,6 @@ | |||
33 | 33 | ||
34 | #include "bitswap.h" | 34 | #include "bitswap.h" |
35 | 35 | ||
36 | /* use file for an MMC-based system, FIXME in makefile */ | ||
37 | #ifdef HAVE_MMC | ||
38 | |||
39 | #define SECTOR_SIZE 512 | 36 | #define SECTOR_SIZE 512 |
40 | 37 | ||
41 | /* Command definitions */ | 38 | /* Command definitions */ |
@@ -702,5 +699,3 @@ int ata_init(void) | |||
702 | return rc; | 699 | return rc; |
703 | } | 700 | } |
704 | 701 | ||
705 | #endif /* #ifdef HAVE_MMC */ | ||
706 | |||