summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/ata.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 4f43989..91ebf3f 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1371,6 +1371,10 @@ int ata_init(void)
GPIO_OUT |= 0x00080000;
GPIO_ENABLE |= 0x00080000;
GPIO_FUNCTION |= 0x00080000;
+
+ /* ATA controller interface */
+ IDECONFIG1 = 0x00107000;
+ IDECONFIG2 = 0x00040000;
#endif
sleeping = false;