summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/mock
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2024-02-20 13:42:17 -0800
committerJulius Werner <jwerner@chromium.org>2024-02-22 21:18:39 +0000
commit1e113bc8783837fb8c2ad12d8984e33bbeab486f (patch)
treec8608a783daaa8c74c968ffca3252063e12fa124 /payloads/libpayload/arch/mock
parent4ed5b1723d19c349d9a1f6be1351b8394652ea7e (diff)
libpayload: Remove legacy CBFS API
It's been several years already since we announced the deprecation of the legacy CBFS API for payloads. It's time to remove it completely. Change-Id: I0ed157ac2d1376b8dff4537af9a63731064b45f6 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80650 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Jakub Czapiga <czapiga@google.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Diffstat (limited to 'payloads/libpayload/arch/mock')
-rw-r--r--payloads/libpayload/arch/mock/Makefile.mk2
-rw-r--r--payloads/libpayload/arch/mock/mock_media.c10
2 files changed, 0 insertions, 12 deletions
diff --git a/payloads/libpayload/arch/mock/Makefile.mk b/payloads/libpayload/arch/mock/Makefile.mk
index 415886af60..e3f10a69ed 100644
--- a/payloads/libpayload/arch/mock/Makefile.mk
+++ b/payloads/libpayload/arch/mock/Makefile.mk
@@ -4,6 +4,4 @@ head.o-y += head.c
libc-y += virtual.c
-libcbfs-$(CONFIG_LP_CBFS) += mock_media.c
-
CFLAGS += -Wno-address-of-packed-member
diff --git a/payloads/libpayload/arch/mock/mock_media.c b/payloads/libpayload/arch/mock/mock_media.c
deleted file mode 100644
index 2bb06edc29..0000000000
--- a/payloads/libpayload/arch/mock/mock_media.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <cbfs.h>
-
-int libpayload_init_default_cbfs_media(struct cbfs_media *media);
-
-__attribute__((weak)) int libpayload_init_default_cbfs_media(struct cbfs_media *media)
-{
- return -1;
-}