summaryrefslogtreecommitdiff
path: root/src/security/vboot/vbnv_cmos.c
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-04-14 19:05:52 +0530
committerSubrata Banik <subratabanik@google.com>2022-04-23 17:17:51 +0000
commitf48b84330f7ce4b156fb4cac0ff42c48befff6e5 (patch)
tree88244d5b56ac938059d8df3959165378c37537a4 /src/security/vboot/vbnv_cmos.c
parent5530316024f5429ff9b6611e8abb1eaceefb7a45 (diff)
soc/intel/common/smbus: Add `finalize` operation for smbus
This patch implements the required operations to perform prior to booting to OS using coreboot native driver when platform decides to skip FSP notify APIs i.e. Post PCI Enumeration. The smbus `.final` operation ensures locking the TCO register when coreboot decides to skip FspNotifyApi() calls. BUG=b:211954778 TEST=Able to build google/brya with these changes and coreboot log with this code change as below with ADL SoC skip calling into FspNotifyAPIs: [INFO ] Finalize devices... [DEBUG] PCI: 00:1f.4 final > localhost ~ # lspci -xxx | less 00:1f.4 Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01) Offset 8, Bit 12 a.k.a TCO Lock bit is set (meaning locked). Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: Ie945680049514e6c5d797790a381a6946e836926 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63640 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/security/vboot/vbnv_cmos.c')
0 files changed, 0 insertions, 0 deletions