summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r--firmware/drivers/ata.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 40d3da2f98..60b6a87488 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1131,15 +1131,6 @@ int ata_init(void)
1131 or_b(0x02, &PAIORH); /* output for ATA reset */ 1131 or_b(0x02, &PAIORH); /* output for ATA reset */
1132 or_b(0x02, &PADRH); /* release ATA reset */ 1132 or_b(0x02, &PADRH); /* release ATA reset */
1133 PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */ 1133 PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */
1134
1135#ifdef HAVE_LCD_CHARCELLS
1136 if (read_rom_version() > 451) /* new player: power on the HD */
1137 {
1138 PBCR2 &= ~0x0300; /* Set PB4 (IDE power) to GPIO */
1139 or_b(0x10, &PBDRL); /* ... high */
1140 or_b(0x10, &PBIORL); /* ... and output */
1141 }
1142#endif
1143#elif defined HAVE_SCF5249 1134#elif defined HAVE_SCF5249
1144#endif 1135#endif
1145 1136