From 475916ddbfb0ba9fed7f17a2613736551912e3f9 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Mon, 13 Dec 2010 20:02:23 +0000 Subject: Compile cbmem.c instead of including it in romstage, and do that only if resume is done. Signed-off-by: Rudolf Marek Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6174 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/cbmem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/cbmem.h b/src/include/cbmem.h index 5fd2e78aff..d9ec93c60c 100644 --- a/src/include/cbmem.h +++ b/src/include/cbmem.h @@ -49,8 +49,9 @@ void *cbmem_find(u32 id); void cbmem_list(void); void cbmem_arch_init(void); +extern struct cbmem_entry *get_cbmem_toc(void); + #ifndef __PRE_RAM__ -struct cbmem_entry *get_cbmem_toc(void); void set_cbmem_toc(struct cbmem_entry *); #endif #endif -- cgit v1.2.3