summaryrefslogtreecommitdiff
path: root/src/commonlib/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-11-18 09:05:18 -0600
committerAaron Durbin <adurbin@chromium.org>2016-11-19 16:57:27 +0100
commit1f0ce3a80ed16e7d3a0737720ff6276e4a5893e5 (patch)
treeb19b8376f21e3ec3f1082af54e930dc1326f3073 /src/commonlib/include
parente35e69537722bad0720a6831adc96b00d29e4a8b (diff)
downloadcoreboot-1f0ce3a80ed16e7d3a0737720ff6276e4a5893e5.tar.xz
commonlib/include: remove NEED_VB20_INTERNALS
vboot_handoff.c is the only place that needs the vb2 internals. Provide it in the one place it is actually required instead of pulling in the headers unnecessarily in common code. There is, however, still a need to get the vb2 hashing types for a function declaration. Change-Id: I038fda68b1cd05fa2e66135158e5e2d18567563a Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/17475 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/commonlib/include')
-rw-r--r--src/commonlib/include/commonlib/cbfs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/commonlib/include/commonlib/cbfs.h b/src/commonlib/include/commonlib/cbfs.h
index 5e511a7aea..163bef270a 100644
--- a/src/commonlib/include/commonlib/cbfs.h
+++ b/src/commonlib/include/commonlib/cbfs.h
@@ -18,8 +18,6 @@
#include <commonlib/cbfs_serialized.h>
#include <commonlib/region.h>
-/* TODO: remove me! This is for vboot_handoff.c's benefit. */
-#define NEED_VB20_INTERNALS
#include <vb2_api.h>
/* Object representing cbfs files. */