DM: extend i6300esb device to support watchdog timeout query

6300esb has bit in its register to show whether the watchdog
timeout is hit.

This patch adds this bit support. So the guest could query
whether last reset is triggered by watchdog reset.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Reviewed-by: Cao Minggui <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
Tested-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
Yin Fengwei
2018-07-04 17:17:48 +08:00
committed by lijinxia
parent 1f54b92170
commit 7ed292eeef
2 changed files with 38 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ struct vsbl_para {
uint64_t bootargs_address;
uint32_t trusty_enabled;
uint32_t key_info_lock;
uint32_t watchdog_reset;
uint32_t reserved;
uint32_t boot_device_address;
};