From 70e4eae93cbf8c532ee799a3c279230e52871da1 Mon Sep 17 00:00:00 2001 From: Parthiban Nallathambi Date: Sat, 3 May 2025 21:53:16 +0530 Subject: [PATCH] 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 --- include/zephyr/drivers/hwinfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/zephyr/drivers/hwinfo.h b/include/zephyr/drivers/hwinfo.h index 80ded9dfc85..807e091cc59 100644 --- a/include/zephyr/drivers/hwinfo.h +++ b/include/zephyr/drivers/hwinfo.h @@ -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) /** * @} */