mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 07:03:31 +08:00
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:
parent
11c2e505c4
commit
d9f43c8f5c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user