diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 91ebf3fabd..f4a931b6c3 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1361,9 +1361,9 @@ int ata_init(void) | |||
1361 | or_b(0x02, &PAIORH); /* output for ATA reset */ | 1361 | or_b(0x02, &PAIORH); /* output for ATA reset */ |
1362 | or_b(0x02, &PADRH); /* release ATA reset */ | 1362 | or_b(0x02, &PADRH); /* release ATA reset */ |
1363 | PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */ | 1363 | PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */ |
1364 | #elif defined HAVE_MCF5249 | 1364 | #elif CONFIG_CPU == MCF5249 |
1365 | /* Enable disk LED & ISD chip power control */ | 1365 | /* Enable disk LED & ISD chip power control */ |
1366 | GPIO_OUT &= ~0x0000200; | 1366 | GPIO_OUT &= ~0x0000240; |
1367 | GPIO_ENABLE |= 0x00000240; | 1367 | GPIO_ENABLE |= 0x00000240; |
1368 | GPIO_FUNCTION |= 0x00000200; | 1368 | GPIO_FUNCTION |= 0x00000200; |
1369 | 1369 | ||