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

Gururaja Hebbar K R gururajakr at sanyo.co.in
Fri Aug 1 02:33:03 CEST 2008


 Hi,

In message
<5BF78BCE8D9BF14A83F836BD9E3916BA23C1B7 at blrms.slti.sanyo.co.in> you
wrote:
>> Hi,
>> 
>> >> @@ -50,8 +50,7 @@ static ulong lastdec;  int timer_init (void)  {
>> >>   *(volatile ulong *)(CFG_TIMERBASE + 0) =3D3D CFG_TIMER_RELOAD; 
>> >> /*=20 TimerLoad */
>> >^^^^^^^^^^^^^
>> >> - *(volatile ulong *)(CFG_TIMERBASE + 4) =3D3D CFG_TIMER_RELOAD; 
>> >> /*=20 TimerValue */
>> >^^^^^^^^^^^^^
>> >
>> >Your patch is line-wrapped and cannot be applied.
>> 
>> I Checked the Original Source File & found this.
>> 
>> 	*(volatile ulong *)(CFG_TIMERBASE + 0) =3D CFG_TIMER_RELOAD;
>> /* TimerLoad */  ---> This line ends @ Column 80
>> 	*(volatile ulong *)(CFG_TIMERBASE + 4) =3D 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.
>
>Please resubmit your patch, without line wrapping.

Yes, I think i couldn't make myself clear. The ORIGINAL Source Code/Line
i need to REMOVE 
itself is greater than 80 Column. I am not adding any code. I am just
removing 1  line that is not 
required.

Kindly Have a look @ File u-boot-1.3.3/cpu/arm926ejs/versatile/timer.c @
line 53. 
I need to remove this Line. So i request to let me know how to remove a
line that's already is broken.

TIA

Regards
Gururaja




More information about the U-Boot mailing list