summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/clock-target.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/clock-target.h b/firmware/target/arm/as3525/clock-target.h
index f4bb5568fb..7f6b17eff4 100644
--- a/firmware/target/arm/as3525/clock-target.h
+++ b/firmware/target/arm/as3525/clock-target.h
@@ -86,6 +86,8 @@
86 86
87 87
88#define AS3525_DRAM_FREQ 96000000 /* Initial DRAM frequency */ 88#define AS3525_DRAM_FREQ 96000000 /* Initial DRAM frequency */
89#define AS3525_PCLK_FREQ (AS3525_DRAM_FREQ/1) /* PCLK divided from DRAM freq */
90#define AS3525_DBOP_FREQ (AS3525_PCLK_FREQ/2) /* DBOP divided from PCLK freq */
89 91
90#else 92#else
91/* AS3525v1 */ 93/* AS3525v1 */
@@ -113,12 +115,11 @@
113#define AS3525_FCLK_FREQ 248000000 /* Boosted FCLK frequency */ 115#define AS3525_FCLK_FREQ 248000000 /* Boosted FCLK frequency */
114#define AS3525_DRAM_FREQ 62000000 /* Initial DRAM frequency */ 116#define AS3525_DRAM_FREQ 62000000 /* Initial DRAM frequency */
115/* AS3525_PCLK_FREQ != AS3525_DRAM_FREQ/1 will boot to white lcd screen */ 117/* AS3525_PCLK_FREQ != AS3525_DRAM_FREQ/1 will boot to white lcd screen */
118#define AS3525_PCLK_FREQ (AS3525_DRAM_FREQ/1) /* PCLK divided from DRAM freq */
119#define AS3525_DBOP_FREQ (AS3525_PCLK_FREQ/1) /* DBOP divided from PCLK freq */
116 120
117#endif /* CONFIG_CPU == AS3525v2 */ 121#endif /* CONFIG_CPU == AS3525v2 */
118 122
119#define AS3525_PCLK_FREQ (AS3525_DRAM_FREQ/1) /* PCLK divided from DRAM freq */
120
121#define AS3525_DBOP_FREQ (AS3525_PCLK_FREQ/1) /* DBOP divided from PCLK freq */
122 123
123/** ****************************************************************************/ 124/** ****************************************************************************/
124 125