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> |
||
|---|---|---|
| .. | ||
| b64_decode-test.c | ||
| bootmem-test.c | ||
| cbfs-lookup-test.c | ||
| cbfs-verification-test.c | ||
| cbmem_console-test.c | ||
| cbmem_stage_cache-test.c | ||
| coreboot_table-test.c | ||
| crc_byte-test.c | ||
| dimm_info_util-test.c | ||
| edid-test.c | ||
| fmap-test.c | ||
| hexstrtobin-test.c | ||
| imd-test.c | ||
| imd_cbmem-test.c | ||
| lib-test.c | ||
| libgcc-test.c | ||
| lzma-test.c | ||
| Makefile.mk | ||
| malloc-test.c | ||
| memchr-test.c | ||
| memcmp-test.c | ||
| memcpy-test.c | ||
| memmove-test.c | ||
| memrange-test.c | ||
| memset-test.c | ||
| region_file-test.c | ||
| rtc-test.c | ||
| spd_cache-test.c | ||
| stack-test.c | ||
| string-test.c | ||
| timestamp-test.c | ||
| uuid-test.c | ||
| ux_locales-test.c | ||