mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
x86: Add function comments to cb_sysinfo.h
Add a function comment for get_coreboot_info() and a declaration for cb_get_sysinfo(), since this may be called from elsewhere. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
50cf68c728
commit
c5c62155c5
1 changed files with 16 additions and 0 deletions
|
@ -215,6 +215,22 @@ struct sysinfo_t {
|
|||
|
||||
extern struct sysinfo_t lib_sysinfo;
|
||||
|
||||
/**
|
||||
* get_coreboot_info() - parse the coreboot sysinfo table
|
||||
*
|
||||
* Parses the coreboot table if found, setting the GD_FLG_SKIP_LL_INIT flag if
|
||||
* so.
|
||||
*
|
||||
* @info: Place to put the parsed information
|
||||
* @return 0 if OK, -ENOENT if no table found
|
||||
*/
|
||||
int get_coreboot_info(struct sysinfo_t *info);
|
||||
|
||||
/**
|
||||
* cb_get_sysinfo() - get a pointer to the parsed coreboot sysinfo
|
||||
*
|
||||
* @return pointer to sysinfo, or NULL if not available
|
||||
*/
|
||||
const struct sysinfo_t *cb_get_sysinfo(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue