Compile cbmem.c instead of including it in romstage,

and do that only if resume is done.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6174 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Rudolf Marek
2010-12-13 20:02:23 +00:00
parent c4369536da
commit 475916ddbf
10 changed files with 10 additions and 59 deletions

View File

@ -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