Dear Prafulla Wadaskar,

In message <1249583526-22532-1-git-send-email-prafu...@marvell.com> you wrote:
> This feature can be used to trigger special command "sysrst_cmd" using
> reset key long press event
> (useful for reset to factory or manufacturing mode execution)

Cool.

> Implementation: upon long reset assertion (> 5secs)
> sysrst_cmd will be executed if pre-defined in environment variables

I like the feature, but I don't like the hardwired timeout value.

> +#ifndef CONFIG_SYS_RST_THRESHOLD_TIME
> +#define CONFIG_SYS_RST_THRESHOLD_TIME        5
> +#endif /* CONFIG_SYS_RST_THRESHOLD_TIME */

Could you please use an environment variable for this, i. e.
"sysrstcmd" and "sysrstdelay" (note that I omitted the underscore,
too, because it looks ugly to me). This goes more in line with
existing definitions like "bootcmd" and "bootdelay".

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Your csh still thinks true is false. Write to your vendor  today  and
tell them that next year Configure ought to "rm /bin/csh" unless they
fix  their blasted shell. :-)
                 - Larry Wall in Configure from the perl distribution
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to