From af8471c2b6062d387b03ed02b7481191488a2209 Mon Sep 17 00:00:00 2001 From: Joel Kitching Date: Wed, 13 Mar 2019 22:38:07 +0800 Subject: vboot: rename symbols for better consistency Symbols prefixed with vb2_ should be reserved for internal vboot library use. Anything outside of that may choose some other prefix. Here, we choose vboot_ instead. Also, add some documentation to security/vboot/misc.h, which provides headers for a number of different C files. BUG=b:124141368 TEST=Build and deploy to eve TEST=util/lint/checkpatch.pl -g origin/master..HEAD TEST=util/abuild/abuild -B -e -y -c 50 -p none -x TEST=make clean && make test-abuild BRANCH=none Change-Id: I5d9154fd2d5df25ee254bd5ce4a173afaa6588be Signed-off-by: Joel Kitching Reviewed-on: https://review.coreboot.org/c/coreboot/+/31886 Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/security/vboot/vboot_crtm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/security/vboot/vboot_crtm.c') diff --git a/src/security/vboot/vboot_crtm.c b/src/security/vboot/vboot_crtm.c index 6aa5103f60..f4a6d7519f 100644 --- a/src/security/vboot/vboot_crtm.c +++ b/src/security/vboot/vboot_crtm.c @@ -162,7 +162,7 @@ uint32_t vboot_measure_cbfs_hook(struct cbfsf *fh, const char *name) struct region_device rdev; char tcpa_metadata[TCPA_PCR_HASH_NAME]; - if (!vb2_logic_executed()) + if (!vboot_logic_executed()) return 0; cbfsf_file_type(fh, &cbfs_type); -- cgit v1.2.3