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:

committed by
Stefano Babic

parent
11c2e505c4
commit
d9f43c8f5c
@@ -1018,5 +1018,6 @@ int misc_init_r(void)
|
|||||||
#ifdef CONFIG_CMD_BMODE
|
#ifdef CONFIG_CMD_BMODE
|
||||||
add_board_boot_modes(board_boot_modes);
|
add_board_boot_modes(board_boot_modes);
|
||||||
#endif
|
#endif
|
||||||
|
setenv_hex("reset_cause", get_imx_reset_cause());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user