diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2015-02-15 21:37:22 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-02-17 09:42:54 (GMT) |
commit | d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb (patch) | |
tree | 560e41cfa48445d7fe09d8b368cb8d5a48397870 /board | |
parent | 11c2e505c4505a8c709cfa65675ba07aedec4e76 (diff) | |
download | u-boot-fsl-qoriq-d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb.tar.xz |
nitrogen6x: set environment variable reset_cause
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board')
-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; } |