[U-Boot] [PATCH] imx: don't clobber reset cause

Stefano Babic
2015-02-05T18:49:02Z

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
=====================================================================