summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Deppenwiese <zaolin@das-labor.org>2018-05-13 12:42:42 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-07-28 16:58:30 +0000
commitfa1f6ff09e1f308bd34f0d7af71c5022083888ee (patch)
tree0cfb4f6db676e09a02981f0bbf2e87e4f9f631a6 /src
parentf18dc5c72cbbe35733bf668629f461cba3417405 (diff)
util/cbmem: Add cbmem TCPA log support
* Read and print the TCPA ACPI log. Change-Id: Ie2253d86cfc675d45b0a728794cc784215401f4a Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-on: https://review.coreboot.org/26244 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src')
-rw-r--r--src/commonlib/include/commonlib/coreboot_tables.h1
-rw-r--r--src/lib/coreboot_table.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h
index f411ff206b..806dfc76d4 100644
--- a/src/commonlib/include/commonlib/coreboot_tables.h
+++ b/src/commonlib/include/commonlib/coreboot_tables.h
@@ -310,6 +310,7 @@ void lb_ramoops(struct lb_header *header);
#define LB_TAG_CBMEM_CONSOLE 0x0017
#define LB_TAG_MRC_CACHE 0x0018
#define LB_TAG_ACPI_GNVS 0x0024
+#define LB_TAG_TCPA_LOG 0x0034
#define LB_TAG_WIFI_CALIBRATION 0x0027
#define LB_TAG_VPD 0x002c
struct lb_cbmem_ref {
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index 8fc7b6f255..2d74c8ec7f 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -339,7 +339,8 @@ static void add_cbmem_pointers(struct lb_header *header)
{CBMEM_ID_CONSOLE, LB_TAG_CBMEM_CONSOLE},
{CBMEM_ID_ACPI_GNVS, LB_TAG_ACPI_GNVS},
{CBMEM_ID_VPD, LB_TAG_VPD},
- {CBMEM_ID_WIFI_CALIBRATION, LB_TAG_WIFI_CALIBRATION}
+ {CBMEM_ID_WIFI_CALIBRATION, LB_TAG_WIFI_CALIBRATION},
+ {CBMEM_ID_TCPA_LOG, LB_TAG_TCPA_LOG}
};
int i;