From d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb Mon Sep 17 00:00:00 2001 From: Eric Nelson Date: Sun, 15 Feb 2015 14:37:22 -0700 Subject: [PATCH] nitrogen6x: set environment variable reset_cause Signed-off-by: Eric Nelson Acked-by: Stefano Babic --- 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 e8ea256be0c..d46b8db232c 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; }