summaryrefslogtreecommitdiff
path: root/board/boundary
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2015-02-15 14:37:22 -0700
committerStefano Babic <sbabic@denx.de>2015-02-17 10:42:54 +0100
commitd9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb (patch)
tree560e41cfa48445d7fe09d8b368cb8d5a48397870 /board/boundary
parent11c2e505c4505a8c709cfa65675ba07aedec4e76 (diff)
downloadu-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>
Diffstat (limited to 'board/boundary')
-rw-r--r--board/boundary/nitrogen6x/nitrogen6x.c1
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;
}