summaryrefslogtreecommitdiff
path: root/tests/lib/coreboot_table-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/coreboot_table-test.c')
-rw-r--r--tests/lib/coreboot_table-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/coreboot_table-test.c b/tests/lib/coreboot_table-test.c
index 16ab97f37b..aa10f6534b 100644
--- a/tests/lib/coreboot_table-test.c
+++ b/tests/lib/coreboot_table-test.c
@@ -243,9 +243,9 @@ void cbmem_run_init_hooks(int is_recovery)
}
extern uintptr_t _cbmem_top_ptr;
-void *cbmem_top_chipset(void)
+uintptr_t cbmem_top_chipset(void)
{
- return (void *)_cbmem_top_ptr;
+ return _cbmem_top_ptr;
}
#define CBMEM_SIZE (64 * KiB)