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 <parthiban@linumiz.com>
This commit is contained in:
Parthiban Nallathambi 2025-05-03 21:50:37 +05:30 committed by Anas Nashif
commit 444f42b6a8

View file

@ -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)
/**
* @}
*/