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:
Parthiban Nallathambi 2025-05-03 21:53:16 +05:30 committed by Anas Nashif
commit 70e4eae93c

View file

@ -69,6 +69,8 @@ extern "C" {
#define RESET_TEMPERATURE BIT(14)
/** Bootloader reset (entry / exit) */
#define RESET_BOOTLOADER BIT(15)
/** Flash ECC reset */
#define RESET_FLASH BIT(16)
/**
* @}
*/