summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/ata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index b1910c6..5fe6e9e 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1403,8 +1403,8 @@ int ata_init(void)
GPIO_FUNCTION |= 0x00080000;
/* ATA controller interface */
- IDECONFIG1 = 0x00107000;
- IDECONFIG2 = 0x00040000;
+ IDECONFIG1 = 0x00107400; /* BUFEN2 enable, 5 clock pre, 3 clock post */
+ IDECONFIG2 = 0x00040000; /* TA Enable = 1 */
#endif
sleeping = false;