drivers: hwinfo: add reset causes
Add reset causes for temperature (e.g. overheating), hardware faults and a user initiated reset. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
8d8d6d9a6a
commit
00596182fc
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ extern "C" {
|
|||
#define RESET_PARITY BIT(9)
|
||||
#define RESET_PLL BIT(10)
|
||||
#define RESET_CLOCK BIT(11)
|
||||
#define RESET_HARDWARE BIT(12)
|
||||
#define RESET_USER BIT(13)
|
||||
#define RESET_TEMPERATURE BIT(14)
|
||||
|
||||
/**
|
||||
* @brief Copy the device id to a buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue