fw-api: CL 6438589 - update fw common interface files

Add USB_RESET_RESUME flag to host_interest area

Change-Id: Ib04a9d87a8f124eb77de48c6ee59174b78e80287
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2019-02-04 04:18:55 -08:00
commit d6e3e3a99d

View file

@ -378,6 +378,16 @@ PREPACK64 struct host_interest_s {
#define HI_OPTION_SDIO_CRASH_DUMP_ENHANCEMENT_HOST 0x400 /* HOST to support using BMI dump FW memory when hit assert */
#define HI_OPTION_SDIO_CRASH_DUMP_ENHANCEMENT_FW 0x800 /* FW to support using BMI dump FW memory when hit assert */
/* USB_RESET_RESUME
* The host will set this flag, based on platform configuration specs.
* The target will check this flag at the time USB becomes suspended.
* If the flag is set, the target will invoke its reset / resume code.
* If the flag is not set, the target will do nothing, other than wait.
*/
#define HI_OPTION_USB_RESET_RESUME 0x1000
#define USB_RESET_RESUME() \
(HOST_INTEREST->hi_option_flag2 & HI_OPTION_USB_RESET_RESUME)
#define GPIO_WAKEUP_ENABLED() \
(HOST_INTEREST->hi_option_flag2 & HT_OPTION_GPIO_WAKEUP_SUPPORT)