summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ata.c')
-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 355aaaf058..339073969c 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1347,7 +1347,7 @@ int ata_init(void)
/* TODO: check for cold start (never happenning now) */
bool coldstart = false;
#elif CONFIG_CPU == MCF5249
- bool coldstart = true; /* FIXME */
+ bool coldstart = (GPIO_FUNCTION & 0x00080000) == 0;
#else
bool coldstart = (PACR2 & 0x4000) != 0;
#endif