security/intel/cbnt: Add logging

This decodes and logs the CBnT status and error registers.

Change-Id: I8b57132bedbd944b9861ab0e2e0d14723cb61635
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54093
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans
2021-05-12 16:22:05 +02:00
committed by Patrick Georgi
parent 773ecfe11d
commit ee55d71c96
6 changed files with 225 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include <console/console.h>
#include <cpu/x86/mtrr.h>
#include <intelblocks/lpc_lib.h>
#include <security/intel/cbnt/cbnt.h>
#include <soc/pci_devs.h>
#include <soc/bootblock.h>
#include <fsp/util.h>
@@ -67,5 +68,9 @@ void bootblock_soc_init(void)
if (CONFIG(FSP_CAR))
report_fspt_output();
if (CONFIG(INTEL_CBNT_LOGGING))
intel_cbnt_log_registers();
bootblock_pch_init();
}