nitrogen6x: set environment variable reset_cause

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
Eric Nelson 2015-02-15 14:37:22 -07:00 committed by Stefano Babic
parent 11c2e505c4
commit d9f43c8f5c

View file

@ -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;
}