[U-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-18 Thread Prafulla Wadaskar
This feature can be used to trigger special command "sysrstcmd" using reset key long press event and environment variable "sysrstdelay" is set (useful for reset to factory or manufacturing mode execution) Kirkwood SoC implements a hardware-based SYSRSTn duration counter. When SYSRSTn is asserted l

Re: [U-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-18 Thread Prafulla Wadaskar
-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn > Duration Counter Support > > On 00:36 Tue 18 Aug , Wolfgang Denk wrote: > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > In message <20090817221152.gm23...@game.jcrosoft.org> you wrote: > > >

Re: [U-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:36 Tue 18 Aug , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090817221152.gm23...@game.jcrosoft.org> you wrote: > > > > > + printf("Starting %s process...\n", __FUNCTION__); > > > + sprintf(cmd, "run "); > > > + sprintf(img, "sysrstcmd"); > > > + argv[0

Re: [U-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-17 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090817221152.gm23...@game.jcrosoft.org> you wrote: > > > + printf("Starting %s process...\n", __FUNCTION__); > > + sprintf(cmd, "run "); > > + sprintf(img, "sysrstcmd"); > > + argv[0] = cmd; > > + argv[1] = img; > > + if ((do_run(NUL

Re: [U-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:03 Fri 07 Aug , Prafulla Wadaskar wrote: > This feature can be used to trigger special command "sysrstcmd" using > reset key long press event and environment variable "sysrstdelay" is set > (useful for reset to factory or manufacturing mode execution) > > Kirkwood SoC implements a hardwa

[U-Boot] [PATCH v2] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-07 Thread Prafulla Wadaskar
This feature can be used to trigger special command "sysrstcmd" using reset key long press event and environment variable "sysrstdelay" is set (useful for reset to factory or manufacturing mode execution) Kirkwood SoC implements a hardware-based SYSRSTn duration counter. When SYSRSTn is asserted l