From: Eric Nelson Date: Sun, 15 Feb 2015 21:37:22 +0000 (-0700) Subject: nitrogen6x: set environment variable reset_cause X-Git-Tag: v2015.04-rc4~118^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb;p=u-boot nitrogen6x: set environment variable reset_cause Signed-off-by: Eric Nelson Acked-by: Stefano Babic --- diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index e8ea256be0..d46b8db232 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; }