[U-Boot-Users] [PATCH] Correct ARM Versatile Timer Initialization

Gururaja Hebbar K R gururajakr at sanyo.co.in
Wed Jul 30 02:50:16 CEST 2008


Hi,

>> @@ -50,8 +50,7 @@ static ulong lastdec;  int timer_init (void)  {
>>   *(volatile ulong *)(CFG_TIMERBASE + 0) =3D CFG_TIMER_RELOAD; /* 
>> TimerLoad */
>^^^^^^^^^^^^^
>> - *(volatile ulong *)(CFG_TIMERBASE + 4) =3D CFG_TIMER_RELOAD; /* 
>> TimerValue */
>^^^^^^^^^^^^^
>
>Your patch is line-wrapped and cannot be applied.

I Checked the Original Source File & found this.

	*(volatile ulong *)(CFG_TIMERBASE + 0) = CFG_TIMER_RELOAD;
/* TimerLoad */  ---> This line ends @ Column 80
	*(volatile ulong *)(CFG_TIMERBASE + 4) = CFG_TIMER_RELOAD;
/* TimerValue */  ---> This line ends @ Column 81

I just removed the Second Line since it was Invalid.
 
I am really sorry for troubling but i have little issue finding the
mistake. 
Now in order to remove this, kindly let me know what i have to do.


> And *NEVER* post HTML here!

Will not repeat.

Regards
Gururaja




More information about the U-Boot mailing list