BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
clock.c
Go to the documentation of this file.
1 /******************************************************
2 * Function: s3c2440 clock driver
3 *
4 * File: clock.c
5 * Author: Book Chen
6 * Date: 2008.07.18
7 *******************************************************
8 */
9 #include "includes.h"
10 
11 typedef struct{
18 
20 
21 void F_ClockPowerOnInit(void){
22  ClockParam.ClockDiv=5; //M:H:P=1:1/4:1/8
23  ClockParam.Mclk=92;
24  ClockParam.Pclk=1;
25  ClockParam.Sclk=1;
26  rMPLLCON=(ClockParam.Mclk<<12)|(ClockParam.Pclk<<4)|ClockParam.Sclk;
27  rCLKDIVN=ClockParam.ClockDiv;
29  else MMU_SetFastBusMode();
30 }
31 
32 
33 
34 
35 
36 
37 
38 
39 
40