From: Wolfgang Denk Date: Mon, 04 Jun 2012 21:52:59 +0200 Subject: [U-Boot] [PATCH 1/3] common/cmd_rsmode.c: add imx reset mode command In-Reply-To: <4FC4DC4E.9030007@boundarydevices.com> References: <1338066111-5835-1-git-send-email-troy.kisky@boundarydevices.com> <4FC1C403.6000409@googlemail.com> <4FC26173.9060907@boundarydevices.com> <4FC3B7A5.2080805@googlemail.com> <4FC4DC4E.9030007@boundarydevices.com> Message-ID: <20120604195259.8CB96204AE4@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Eric Nelson, In message <4FC4DC4E.9030007@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@gadget.cscaper.com>