diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/pcr.h | 14 | ||||
-rw-r--r-- | src/soc/intel/common/block/pcr/pcr.c | 1 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/pcr.h b/src/soc/intel/common/block/include/intelblocks/pcr.h index dd02f0fe52..e4a9fb82f8 100644 --- a/src/soc/intel/common/block/include/intelblocks/pcr.h +++ b/src/soc/intel/common/block/include/intelblocks/pcr.h @@ -27,13 +27,13 @@ void pcr_or8(uint8_t pid, uint16_t offset, uint8_t ordata); /* SBI command */ enum { - MEM_READ = 0, - MEM_WRITE = 1, - PCI_CONFIG_READ = 4, - PCI_CONFIG_WRITE = 5, - PCR_READ = 6, - PCR_WRITE = 7, - GPIO_LOCK_UNLOCK = 13, + MEM_READ = 0x00, + MEM_WRITE = 0x01, + PCI_CONFIG_READ = 0x04, + PCI_CONFIG_WRITE = 0x05, + PCR_READ = 0x06, + PCR_WRITE = 0x07, + GPIO_LOCK_UNLOCK = 0x13, }; struct pcr_sbi_msg { diff --git a/src/soc/intel/common/block/pcr/pcr.c b/src/soc/intel/common/block/pcr/pcr.c index 96b93ad37a..989805d125 100644 --- a/src/soc/intel/common/block/pcr/pcr.c +++ b/src/soc/intel/common/block/pcr/pcr.c @@ -330,6 +330,7 @@ int pcr_execute_sideband_msg(struct pcr_sbi_msg *msg, uint32_t *data, case MEM_WRITE: case PCI_CONFIG_WRITE: case PCR_WRITE: + case GPIO_LOCK_UNLOCK: /* * 6. Write P2SB PCI offset D4h[31:0] with the * intended data accordingly |