Commit 444f42b6 authored by Parthiban Nallathambi's avatar Parthiban Nallathambi Committed by Anas Nashif
Browse files

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: default avatarParthiban Nallathambi <parthiban@linumiz.com>
parent 08cc78cc
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
@@ -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)
/**
 * @}
 */