coreboot/src/lib
Maximilian Brune 71296476a8 tests/lib/coreboot_table-test.c: Add lb_string_platform_blob_version
A later patch changes the .config file which we use for our tests.
However that causes the PLATFORM_USES_FSP2_0 option to be enabled, which
in turn causes build errors in our tests, because the function is
obviously not defined in our tests. Create a stub function of sorts like
we do for other coreboot table entries.

It also moves the declaration of the `lb_string_platform_blob_version`
function to coreboot_tables.h, since it doesn't belong in the FSP header
file. Because of that we can also remove the
`if (CONFIG_PLATFORM_USES_FSP2_0)`
check, which makes the code a bit cleaner.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I7721dfe4d287b2274a383bb7e5337b85a0f3f148
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90830
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub "Kuba" Czapiga <czapiga@google.com>
2026-01-23 21:38:33 +00:00
..
gnat
asan.c
b64_decode.c
bmp_logo.c {lib, drivers/intel}: Add splash screen footer 2025-06-23 02:04:26 +00:00
boot_device.c
bootblock.c tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
bootmem.c lib/bootmem: Replace conditional return with assert in bootmem_add_range_from 2026-01-05 03:09:45 +00:00
bootmode.c lib/bootmode: Enforce display init requirement for vboot 2025-04-12 17:34:09 +00:00
bootsplash.c
cb.ads
cbfs.c CBFS verification: support Top Swap redundancy 2025-12-20 17:39:43 +00:00
cbfs_master_header.c treewide: Assume FMAP_SECTION_FLASH_START = 0 2025-04-18 14:57:05 +00:00
cbmem_common.c src/lib/cbmem_common: Delete a space(' ') in the source code 2025-08-28 20:13:34 +00:00
cbmem_console.c
cbmem_stage_cache.c
coreboot_table.c tests/lib/coreboot_table-test.c: Add lb_string_platform_blob_version 2026-01-23 21:38:33 +00:00
crc_byte.c
decompressor.c
delay.c
dimm_info_util.c
dp_aux.c
edid.c lib/edid: Support DisplayID 2.0 extension 2025-03-12 12:45:39 +00:00
edid_displayid.h lib/edid: Support DisplayID 2.0 extension 2025-03-12 12:45:39 +00:00
espi_debug.c
ext_stage_cache.c
fallback_boot.c
fit.c
fit_payload.c
fmap.c
framebuffer_info.c lib: Rename fill_lb_framebuffer to get_lb_framebuffer 2026-01-14 04:17:14 +00:00
fw_config.c src/lib: use RO CBFS file as fw_config source 2025-03-26 16:37:25 +00:00
gcc.c
gcov-glue.c
gcov-io.c
gcov-io.h
gcov-iov.h
gpio.c
halt.c
hardwaremain.c {commonlib, lib}: Add timestamp for early chip initialization 2025-04-08 07:50:18 +00:00
hexdump.c
hexstrtobin.c
hw-time-timer.adb
identity.c
imd.c
imd_cbmem.c tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
io.c soc/amd/common/psp_verstage: Remove arch/io.h 2025-04-02 16:03:34 +00:00
jpeg.c
jpeg.h
Kconfig lib: Generalize BMP_LOGO help text 2025-10-17 06:55:44 +00:00
Kconfig.cbfs_verification
libgcc.c
libgcov.c
lzma.c
lzmadecode.c lib/lzmadecode: Increase decoding speed by 30% 2025-09-09 14:40:45 +00:00
lzmadecode.h
Makefile.mk lib: Rename fill_lb_framebuffer to get_lb_framebuffer 2026-01-14 04:17:14 +00:00
malloc.c
master_header_pointer.c treewide: Assume FMAP_SECTION_FLASH_START = 0 2025-04-18 14:57:05 +00:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c
memset.c
metadata_hash.c
nhlt.c
primitive_memtest.c
prog_loaders.c
prog_ops.c
program.ld
ramdetect.c
ramtest.c
reg_script.c
region_file.c
render_bmp.c lib: Rename fill_lb_framebuffer to get_lb_framebuffer 2026-01-14 04:17:14 +00:00
render_bmp.h {lib, drivers/intel}: Move BMP rendering logic out of SoC code 2025-07-23 17:11:10 +00:00
reset.c
rmodule.c
rmodule.ld
romstage_handoff.c tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
rtc.c
selfboot.c commonlib/bsd: Add zstd support 2025-12-20 17:36:01 +00:00
smbios.c src/lib/smbios: Advertise UEFI support for EDK2 2026-01-23 09:23:42 +00:00
smbios_defaults.c Kconfig: Rework SYSTEM_TYPE_XX to better map to SMBIOS 2025-02-19 16:45:42 +00:00
spd_bin.c spd_bin.h: Deduplicate SPD definitions 2025-03-16 05:25:07 +00:00
spd_cache.c soc/common/smbus: Support reading SPD5 hubs for DDR5 2025-08-02 01:47:44 +00:00
stack.c
string.c
thread.c
timer.c
timer_queue.c
timestamp.c lib/timestamp: Init TSC frequency early on x86 2025-09-02 19:12:10 +00:00
ubsan.c
uuid.c
ux_locales.c lib: Add low battery UX locale message 2025-02-15 18:58:48 +00:00
version.c
vga_gfx.c lib/vga_gfx: Fix left-up and right-up orientations 2025-10-31 21:04:39 +00:00
wrdd.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00