CBMEM: Rename utility file
This file will have CBMEM init hooks API one day. Change-Id: I0c31495d4217a5eb235b13e6d8e8c99a87a3b840 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8031 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
069f4766a0
commit
de53bdf569
|
@ -81,7 +81,9 @@ else
|
|||
ramstage-y += cbmem.c
|
||||
romstage-y += cbmem.c
|
||||
endif # CONFIG_DYNAMIC_CBMEM
|
||||
ramstage-y += cbmem_info.c
|
||||
|
||||
romstage-y += cbmem_common.c
|
||||
ramstage-y += cbmem_common.c
|
||||
|
||||
ramstage-y += hexdump.c
|
||||
romstage-y += hexdump.c
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#include <cbmem.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef __PRE_RAM__
|
||||
|
||||
static const struct cbmem_id_to_name cbmem_ids[] = { CBMEM_ID_TO_NAME_TABLE };
|
||||
|
||||
void cbmem_print_entry(int n, u32 id, u64 base, u64 size)
|
||||
|
@ -43,3 +45,5 @@ void cbmem_print_entry(int n, u32 id, u64 base, u64 size)
|
|||
printk(BIOS_DEBUG, "%08llx ", base);
|
||||
printk(BIOS_DEBUG, "%08llx\n", size);
|
||||
}
|
||||
|
||||
#endif /* !__PRE_RAM__ */
|
Loading…
Reference in New Issue