diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2015-02-15 14:37:22 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-02-17 10:42:54 +0100 |
commit | d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb (patch) | |
tree | 560e41cfa48445d7fe09d8b368cb8d5a48397870 | |
parent | 11c2e505c4505a8c709cfa65675ba07aedec4e76 (diff) | |
download | u-boot-imx-d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb.zip u-boot-imx-d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb.tar.gz u-boot-imx-d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb.tar.bz2 |
nitrogen6x: set environment variable reset_cause
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
-rw-r--r-- | board/boundary/nitrogen6x/nitrogen6x.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |