From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 05 Feb 2015 19:49:02 +0100 Subject: [U-Boot] [PATCH] imx: don't clobber reset cause In-Reply-To: <54D3B4E8.1040505@boundarydevices.com> References: <1423086661-5860-1-git-send-email-eric.nelson@boundarydevices.com> <874mr0pbl2.fsf@nbsps.com> <54D3A625.5000101@denx.de> <54D3A6D9.8040602@boundarydevices.com> <54D3ADCF.7010102@denx.de> <54D3B4E8.1040505@boundarydevices.com> Message-ID: <54D3BB1E.1060409@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 Hi Eric, On 05/02/2015 19:22, Eric Nelson wrote: > > Certainly, but it seems wrong to make a decision about where and how > this might get passed to an O/S in code. > > If we want to generalize it, I'd be inclined to add commands to > query (into a variable) and clear the reset cause. > > That would still require this patch though. I do not think there should be a command. The cause must be directly associated to the variable, and the reset cause cleared. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================