mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
x86: Implement functions for writing coreboot table
To prepare generating coreboot table from U-Boot, implement functions to handle the writing. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ff94c219e9
commit
26f9a9b73a
3 changed files with 147 additions and 0 deletions
|
@ -294,4 +294,14 @@ struct cbmem_entry {
|
|||
#define CBMEM_ID_CONSOLE 0x434f4e53
|
||||
#define CBMEM_ID_NONE 0x00000000
|
||||
|
||||
/**
|
||||
* write_coreboot_table() - write coreboot table
|
||||
*
|
||||
* This writes coreboot table at a given address.
|
||||
*
|
||||
* @addr: start address to write coreboot table
|
||||
* @cfg_tables: pointer to configuration table memory area
|
||||
*/
|
||||
void write_coreboot_table(u32 addr, struct memory_area *cfg_tables);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue