summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/clock-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/clock-target.h')
-rw-r--r--firmware/target/arm/as3525/clock-target.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/clock-target.h b/firmware/target/arm/as3525/clock-target.h
index 49308ce9ea..1928f1fbf2 100644
--- a/firmware/target/arm/as3525/clock-target.h
+++ b/firmware/target/arm/as3525/clock-target.h
@@ -47,7 +47,9 @@
47#error PCLK frequency is too low : clock divider will not fit ! 47#error PCLK frequency is too low : clock divider will not fit !
48#endif 48#endif
49 49
50#define AS3525_IDE_FREQ 66000000 50#define AS3525_IDE_FREQ 90000000 /* The OF uses 66MHz maximal freq
51 but sd transfers fail on some
52 players with this limit */
51#if (CLK_DIV(AS3525_PLLA_FREQ, AS3525_IDE_FREQ) - 1) >= (1<<4) /* 4 bits */ 53#if (CLK_DIV(AS3525_PLLA_FREQ, AS3525_IDE_FREQ) - 1) >= (1<<4) /* 4 bits */
52#error IDE frequency is too low : clock divider will not fit ! 54#error IDE frequency is too low : clock divider will not fit !
53#endif 55#endif