X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Documentation%2Fmips%2Ftime.README;fp=Documentation%2Fmips%2Ftime.README;h=70bc0dd43d6d52a93c63bc1e91c84ffeccd2d427;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=69ddc5c14b7990592a1710957985fd9b6e01369b;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/Documentation/mips/time.README b/Documentation/mips/time.README index 69ddc5c14..70bc0dd43 100644 --- a/Documentation/mips/time.README +++ b/Documentation/mips/time.README @@ -65,7 +65,7 @@ the following functions or values: 1. (optional) set up RTC routines 2. (optional) calibrate and set the mips_counter_frequency - b) plat_timer_setup - a function pointer. Invoked at the end of time_init() + b) board_timer_setup - a function pointer. Invoked at the end of time_init() 1. (optional) over-ride any decisions made in time_init() 2. set up the irqaction for timer interrupt. 3. enable the timer interrupt @@ -116,17 +116,19 @@ Step 2: the machine setup() function If you supply board_time_init(), set the function poointer. + Set the function pointer board_timer_setup() (mandatory) -Step 3: implement rtc routines, board_time_init() and plat_timer_setup() + +Step 3: implement rtc routines, board_time_init() and board_timer_setup() if needed. - board_time_init() - + board_time_init() - a) (optional) set up RTC routines, b) (optional) calibrate and set the mips_counter_frequency (only needed if you intended to use fixed_rate_gettimeoffset or use cpu counter as timer interrupt source) - plat_timer_setup() - + board_timer_setup() - a) (optional) over-write any choices made above by time_init(). b) machine specific code should setup the timer irqaction. c) enable the timer interrupt