board: define boardioc_softreset_subreason_e in CONFIG_BOARDCTL_RESET
so user could pass boardioc_softreset_subreason_e to board_reset too Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
5e7d48f4b0
commit
b2c8b5f674
@ -410,7 +410,7 @@ struct boardioc_boot_info_s
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_BOARDCTL_RESET_CAUSE
|
#if defined(CONFIG_BOARDCTL_RESET) || defined(CONFIG_BOARDCTL_RESET_CAUSE)
|
||||||
/* Describes the reason of last reset */
|
/* Describes the reason of last reset */
|
||||||
|
|
||||||
enum boardioc_reset_cause_e
|
enum boardioc_reset_cause_e
|
||||||
|
Loading…
Reference in New Issue
Block a user