Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-06-07 Thread Yunhui Cui
Hi York, Thanks for your suggestions, and I moved the code into timer_init() and sent v4 . Best Regards, Yunhui > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Tuesday, May 17, 2016 11:44 PM > To: Yunhui Cui; Yunhui Cui > Cc: u-boot@lists.denx.de; Prabhakar Kushw

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread York Sun
Leo, Did you type anything? I don't see any comment on top, or inline. York On 05/27/2016 11:34 AM, Leo Li wrote: > On Tue, May 17, 2016 at 10:44 AM, York Sun wrote: >> On 05/16/2016 08:28 PM, Yunhui Cui wrote: >>> Hi York, >>> >>> I think you can move your code into timer_init() in cpu.c and

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread Leo Li
On Tue, May 17, 2016 at 10:44 AM, York Sun wrote: > On 05/16/2016 08:28 PM, Yunhui Cui wrote: >> Hi York, >> >> I think you can move your code into timer_init() in cpu.c and follow the >> example of cltbenr. >> [Yunhui] During the u_boot imamge compiled by using the ls2080ardb_defconfig >> boot

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread Leo Li
Sorry, I mistakenly clicked the send button before I really type stuff. Please ignore this mail. Leo On Fri, May 27, 2016 at 1:36 PM, York Sun wrote: > Leo, > > Did you type anything? I don't see any comment on top, or inline. > > York > > > On 05/27/2016 11:34 AM, Leo Li wrote: >> On Tue, May

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread Leo Li
On Tue, May 17, 2016 at 10:44 AM, York Sun wrote: > On 05/16/2016 08:28 PM, Yunhui Cui wrote: >> Hi York, >> >> I think you can move your code into timer_init() in cpu.c and follow the >> example of cltbenr. >> [Yunhui] During the u_boot imamge compiled by using the ls2080ardb_defconfig >> boot

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-17 Thread York Sun
On 05/16/2016 08:28 PM, Yunhui Cui wrote: > Hi York, > > I think you can move your code into timer_init() in cpu.c and follow the > example of cltbenr. > [Yunhui] During the u_boot imamge compiled by using the ls2080ardb_defconfig > bootup on ls2080ardb, timer_init() cannot be called ... >

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-16 Thread Yunhui Cui
Hi York, I think you can move your code into timer_init() in cpu.c and follow the example of cltbenr. [Yunhui] During the u_boot imamge compiled by using the ls2080ardb_defconfig bootup on ls2080ardb, timer_init() cannot be called ... So maybe cannot move the code to timer_init(). T

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-16 Thread York Sun
On 04/14/2016 08:57 PM, Yunhui Cui wrote: > From: Yunhui Cui > > The SP805-WDT module on LS2080A and LS2085A, requires configuration > of PMU's PCTBENR register to enable watchdog counter decrement and > reset signal generation. In order not to affect the sp805wdt driver > frame, we enable the wa

[U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-04-14 Thread Yunhui Cui
From: Yunhui Cui The SP805-WDT module on LS2080A and LS2085A, requires configuration of PMU's PCTBENR register to enable watchdog counter decrement and reset signal generation. In order not to affect the sp805wdt driver frame, we enable the watchdog clk in advance. Signed-off-by: Yunhui Cui ---