summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/coreboot_table-test.c2
-rw-r--r--tests/lib/imd_cbmem-test.c2
-rw-r--r--tests/lib/spd_cache-test.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/coreboot_table-test.c b/tests/lib/coreboot_table-test.c
index cd82ee5c3adf..ba3e63d84bb0 100644
--- a/tests/lib/coreboot_table-test.c
+++ b/tests/lib/coreboot_table-test.c
@@ -264,7 +264,7 @@ void cbmem_run_init_hooks(int is_recovery)
}
extern uintptr_t _cbmem_top_ptr;
-void *__wrap_cbmem_top_chipset(void)
+void *cbmem_top_chipset(void)
{
return (void *)_cbmem_top_ptr;
}
diff --git a/tests/lib/imd_cbmem-test.c b/tests/lib/imd_cbmem-test.c
index ef90909a1a1f..f857579960de 100644
--- a/tests/lib/imd_cbmem-test.c
+++ b/tests/lib/imd_cbmem-test.c
@@ -36,7 +36,7 @@ void cbmem_run_init_hooks(int is_recovery)
function_called();
}
-void *__wrap_cbmem_top_chipset(void)
+void *cbmem_top_chipset(void)
{
return (void *)_cbmem_top_ptr;
}
diff --git a/tests/lib/spd_cache-test.c b/tests/lib/spd_cache-test.c
index ef0f6ef5acb2..4bc0a3dcfe93 100644
--- a/tests/lib/spd_cache-test.c
+++ b/tests/lib/spd_cache-test.c
@@ -42,14 +42,14 @@ static int teardown_spd_cache(void **state)
}
-int __wrap_fmap_locate_area_as_rdev(const char *name, struct region_device *area)
+int fmap_locate_area_as_rdev(const char *name, struct region_device *area)
{
return rdev_chain(area, &flash_rdev_rw, 0, flash_buffer_size);
}
/* This test verifies if load_spd_cache() correctly loads spd_cache pointer and size
- from provided region_device. Memory region device is returned by
- __wrap_fmap_locate_area_as_rdev() */
+ from provided region_device. Memory region device is returned by our
+ fmap_locate_area_as_rdev() override. */
static void test_load_spd_cache(void **state)
{
uint8_t *spd_cache;