summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-08-11 18:20:11 -0700
committerPatrick Georgi <patrick@coreboot.org>2021-12-06 12:36:45 +0000
commit9f37647b0486e2a2566bf39ea39992cc20123354 (patch)
tree51bf699990537ee89c7c16ab6f4df50bb59a684d /tests
parentb88d845c5657537f0e844ae461b42ab21bec1d42 (diff)
downloadcoreboot-9f37647b0486e2a2566bf39ea39992cc20123354.tar.gz
cbfs: Remove deprecated APIs
This patch removes all remaining pieces of the old CBFS API, now that the last straggling use cases of it have been ported to the new one (meaning cbfs_map()/cbfs_load()/etc... see CB:39304 and CB:38421). Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I1cec0ca2d9d311626a087318d1d78163243bfc3c Reviewed-on: https://review.coreboot.org/c/coreboot/+/59682 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/cbfs-lookup-test.c1
-rw-r--r--tests/lib/cbfs-verification-test.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/cbfs-lookup-test.c b/tests/lib/cbfs-lookup-test.c
index 27abca3bd5..78481d782e 100644
--- a/tests/lib/cbfs-lookup-test.c
+++ b/tests/lib/cbfs-lookup-test.c
@@ -3,6 +3,7 @@
#include <assert.h>
#include <cbfs.h>
#include <commonlib/bsd/cbfs_mdata.h>
+#include <commonlib/bsd/cbfs_private.h>
#include <commonlib/region.h>
#include <string.h>
#include <tests/lib/cbfs_util.h>
diff --git a/tests/lib/cbfs-verification-test.c b/tests/lib/cbfs-verification-test.c
index 3f3573961f..1f46c7d983 100644
--- a/tests/lib/cbfs-verification-test.c
+++ b/tests/lib/cbfs-verification-test.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <cbfs.h>
+#include <commonlib/bsd/cbfs_private.h>
#include <commonlib/region.h>
#include <string.h>
#include <tests/lib/cbfs_util.h>