Commit 70e4eae9 authored by Parthiban Nallathambi's avatar Parthiban Nallathambi Committed by Anas Nashif
Browse files

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: default avatarParthiban Nallathambi <parthiban@linumiz.com>
parent 444f42b6
Loading
Loading
Loading
Loading
+2 −0
Changes for include/zephyr/drivers/hwinfo.h: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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)
/**
 * @}
 */