[U-Boot] [PATCH 1/3] common/cmd_rsmode.c: add imx reset mode command
Wolfgang Denk
wd at denx.de
Mon Jun 4 21:52:59 CEST 2012
Dear Eric Nelson,
In message <4FC4DC4E.9030007 at boundarydevices.com> you wrote:
>
> Writing a 4 to the WDOG_BASE register enables the watchdog with a 1/2s delay.
> I think there should be a delay or while(1) loop afterwards though. It appears
> that the reset_cpu() routine will return.
I recommend NOT messing with the watchdog for any unrelated functions.
The function of the watchdog should be reserved for auch systems who
need it to implement security related functions; messing with it in
unrelated places (like setting it into unexpected states and or
timeouts) may cause undefined behaviour on such systems.
Don't do it.
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: wd at denx.de
Name one thing windows is better than unix in?
Making money for Microsoft?
-- Randal L. Schwartz in <8cvi5t4c3t.fsf at gadget.cscaper.com>
More information about the U-Boot
mailing list