From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 17 Feb 2015 10:34:47 +0100 Subject: [U-Boot] [PATCH 2/2] nitrogen6x: set environment variable reset_cause In-Reply-To: <1424036242-742-2-git-send-email-eric.nelson@boundarydevices.com> References: <54DB6B0E.3090206@boundarydevices.com> <1424036242-742-1-git-send-email-eric.nelson@boundarydevices.com> <1424036242-742-2-git-send-email-eric.nelson@boundarydevices.com> Message-ID: <54E30B37.7010708@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 15/02/2015 22:37, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > This patch replaces the following two patches, but only applies > to Nitrogen6x and SABRE Lite boards: > http://patchwork.ozlabs.org/patch/436972/ > http://patchwork.ozlabs.org/patch/436974/ > board/boundary/nitrogen6x/nitrogen6x.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c > index e8ea256..d46b8db 100644 > --- a/board/boundary/nitrogen6x/nitrogen6x.c > +++ b/board/boundary/nitrogen6x/nitrogen6x.c > @@ -1018,5 +1018,6 @@ int misc_init_r(void) > #ifdef CONFIG_CMD_BMODE > add_board_boot_modes(board_boot_modes); > #endif > + setenv_hex("reset_cause", get_imx_reset_cause()); > return 0; > } After our previous discussion: Acked-by: Stefano Babic Best regards, Stefano Babic -- ===================================================================== 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 =====================================================================