mips: fix write_table
This replicates commit3f7ad7b216
and commit823edda98e
for mips. Change-Id: Id97e1fefa20cfa3bcb2cf0336b5a4ff7d9fe813b Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/9166 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
146d05da93
commit
6f723c2692
|
@ -30,11 +30,7 @@
|
|||
|
||||
#define MAX_COREBOOT_TABLE_SIZE (8 * 1024)
|
||||
|
||||
void cbmem_arch_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
struct lb_memory *write_tables(void)
|
||||
void write_tables(void)
|
||||
{
|
||||
unsigned long table_pointer, new_table_pointer;
|
||||
|
||||
|
@ -44,7 +40,7 @@ struct lb_memory *write_tables(void)
|
|||
MAX_COREBOOT_TABLE_SIZE);
|
||||
if (!table_pointer) {
|
||||
printk(BIOS_ERR, "Could not add CBMEM for coreboot table.\n");
|
||||
return NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
new_table_pointer = write_coreboot_table(0UL, 0UL, table_pointer,
|
||||
|
@ -62,6 +58,4 @@ struct lb_memory *write_tables(void)
|
|||
|
||||
/* Print CBMEM sections */
|
||||
cbmem_list();
|
||||
|
||||
return get_lb_mem();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue