diff options
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r-- | firmware/drivers/ata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 355aaaf058..339073969c 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1347,7 +1347,7 @@ int ata_init(void) | |||
1347 | /* TODO: check for cold start (never happenning now) */ | 1347 | /* TODO: check for cold start (never happenning now) */ |
1348 | bool coldstart = false; | 1348 | bool coldstart = false; |
1349 | #elif CONFIG_CPU == MCF5249 | 1349 | #elif CONFIG_CPU == MCF5249 |
1350 | bool coldstart = true; /* FIXME */ | 1350 | bool coldstart = (GPIO_FUNCTION & 0x00080000) == 0; |
1351 | #else | 1351 | #else |
1352 | bool coldstart = (PACR2 & 0x4000) != 0; | 1352 | bool coldstart = (PACR2 & 0x4000) != 0; |
1353 | #endif | 1353 | #endif |