Fill out ChromeOS specific coreboot table extensions
[coreboot.git] / src / arch / x86 / include / arch / coreboot_tables.h
1 #ifndef COREBOOT_TABLE_H
2 #define COREBOOT_TABLE_H
3
4 #include <boot/coreboot_tables.h>
5
6 /* This file holds function prototypes for building the coreboot table. */
7 unsigned long write_coreboot_table(
8         unsigned long low_table_start, unsigned long low_table_end,
9         unsigned long rom_table_start, unsigned long rom_table_end);
10
11 void lb_memory_range(struct lb_memory *mem,
12         uint32_t type, uint64_t start, uint64_t size);
13
14 /* Routines to extract part so the coreboot table or information
15  * from the coreboot table.
16  */
17 struct lb_memory *get_lb_mem(void);
18
19 /* defined by mainboard.c if the mainboard requires extra resources */
20 int add_mainboard_resources(struct lb_memory *mem);
21 int add_northbridge_resources(struct lb_memory *mem);
22
23 void fill_lb_gpios(struct lb_gpios *gpios);
24
25 #endif /* COREBOOT_TABLE_H */