Unify coreboot table generation
coreboot tables are, unlike general system tables, a platform independent concept. Hence, use the same code for coreboot table generation on all platforms. lib/coreboot_tables.c is based on the x86 version of the file, because some important fixes were missed on the ARMv7 version lately. Change-Id: Icc38baf609f10536a320d21ac64408bef44bb77d Signed-off-by: Stefan Reinauer <reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/2863 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Aaron Durbin <adurbin@google.com> Tested-by: build bot (Jenkins)
This commit is contained in:
committed by
Stefan Reinauer
parent
93a6665e0c
commit
3e4e303858
@@ -323,4 +323,20 @@ struct cmos_checksum {
|
||||
#define CHECKSUM_PCBIOS 1
|
||||
};
|
||||
|
||||
/* function prototypes for building the coreboot table */
|
||||
|
||||
unsigned long write_coreboot_table(
|
||||
unsigned long low_table_start, unsigned long low_table_end,
|
||||
unsigned long rom_table_start, unsigned long rom_table_end);
|
||||
|
||||
void lb_add_memory_range(struct lb_memory *mem,
|
||||
uint32_t type, uint64_t start, uint64_t size);
|
||||
|
||||
/* Routines to extract part so the coreboot table or information
|
||||
* from the coreboot table.
|
||||
*/
|
||||
struct lb_memory *get_lb_mem(void);
|
||||
|
||||
void fill_lb_gpios(struct lb_gpios *gpios);
|
||||
|
||||
#endif /* COREBOOT_TABLES_H */
|
||||
|
@@ -2,7 +2,6 @@
|
||||
#define BOOT_TABLES_H
|
||||
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <arch/coreboot_tables.h>
|
||||
|
||||
struct lb_memory *write_tables(void);
|
||||
|
||||
|
Reference in New Issue
Block a user