summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ata-pp5020.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/ata-pp5020.c')
-rw-r--r--firmware/target/arm/ata-pp5020.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/ata-pp5020.c b/firmware/target/arm/ata-pp5020.c
index 8fa54712cd..df102810bb 100644
--- a/firmware/target/arm/ata-pp5020.c
+++ b/firmware/target/arm/ata-pp5020.c
@@ -46,6 +46,8 @@ void ata_device_init()
46 IDE0_CFG |= (1<<5); 46 IDE0_CFG |= (1<<5);
47#ifdef IPOD_NANO 47#ifdef IPOD_NANO
48 IDE0_CFG |= (0x10000000); /* cpu > 65MHz */ 48 IDE0_CFG |= (0x10000000); /* cpu > 65MHz */
49#else
50 IDE0_CFG &=~(0x10000000); /* cpu < 65MHz */
49#endif 51#endif
50 52
51 IDE0_PRI_TIMING0 = 0x10; 53 IDE0_PRI_TIMING0 = 0x10;