summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-02-06 04:04:24 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-02-06 04:04:24 +0000
commit3d9be05fba7247f4201d5f20c3d8d889483399b0 (patch)
treeaf88e7ac86ecf5b183569ced191b4f0b181f7e29 /firmware/drivers
parenta0ed6077a40562c861bab4725cc56fc50cc37200 (diff)
Use proper CPU defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5811 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index f4a931b6c3..355aaaf058 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1064,7 +1064,7 @@ int ata_hard_reset(void)
/* state HRR1 */
or_b(0x02, &PADRH); /* negate _RESET */
sleep(1); /* > 2ms */
-#elif defined HAVE_MCF5249
+#elif config_cpu == MCF5249
GPIO_OUT &= ~0x00080000;
sleep(1); /* > 25us */