drivers: hwinfo: add flash ECC error reset
Flash memory uncorrectable ECC error can either generate NMI or reset. When reset is triggered, add entry to handle flash ECC errors in hwinfo. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
parent
444f42b6a8
commit
70e4eae93c
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ extern "C" {
|
||||||
#define RESET_TEMPERATURE BIT(14)
|
#define RESET_TEMPERATURE BIT(14)
|
||||||
/** Bootloader reset (entry / exit) */
|
/** Bootloader reset (entry / exit) */
|
||||||
#define RESET_BOOTLOADER BIT(15)
|
#define RESET_BOOTLOADER BIT(15)
|
||||||
|
/** Flash ECC reset */
|
||||||
|
#define RESET_FLASH BIT(16)
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue