From 444f42b6a8de2f5613957d7f4aaef211a97ad804 Mon Sep 17 00:00:00 2001 From: Parthiban Nallathambi Date: Sat, 3 May 2025 21:50:37 +0530 Subject: [PATCH] drivers: hwinfo: add bootloader reset SoC with support to enter and exit into bootstrap loader or bootloader mode for programming and verifying the flash memory will have reset cause as bootloader. Add entry to accommodate entry and exit from bootloader mode. 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 ca2421f5b8c..80ded9dfc85 100644 --- a/include/zephyr/drivers/hwinfo.h +++ b/include/zephyr/drivers/hwinfo.h @@ -67,6 +67,8 @@ extern "C" { #define RESET_USER BIT(13) /** Temperature reset */ #define RESET_TEMPERATURE BIT(14) +/** Bootloader reset (entry / exit) */ +#define RESET_BOOTLOADER BIT(15) /** * @} */