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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index b4151d0352..46c2bc8645 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -801,6 +801,11 @@ int ata_init(void)
801 801
802 led(false); 802 led(false);
803 803
804 /* Port A setup */
805 PAIOR |= 0x0200; /* output for ATA reset */
806 PADR |= 0x0200; /* release ATA reset */
807 PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */
808
804 ata_enable(true); 809 ata_enable(true);
805 810
806 if ( !initialized ) { 811 if ( !initialized ) {