drivers: espi: npcx: ensure the host receives the value from eSPI VW
This commit adds an option to verify weather the host has read the value after the wire 3-0 bits have been updated. Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
This commit is contained in:
parent
26c03005e7
commit
eb5597e90a
3 changed files with 30 additions and 0 deletions
|
@ -727,6 +727,7 @@ struct espi_reg {
|
|||
#define NPCX_VWEVSM_INDEX FIELD(8, 7)
|
||||
#define NPCX_VWEVSM_INDEX_EN 15
|
||||
#define NPCX_VWEVSM_BIT_VALID(n) (4+n)
|
||||
#define NPCX_VWEVSM_DIRTY 16
|
||||
#define NPCX_VWEVSM_HW_WIRE FIELD(24, 4)
|
||||
#define NPCX_VWGPSM_INDEX_EN 15
|
||||
#define NPCX_OOBCTL_OOB_FREE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue