mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi: Update some comments related to smbios tables
Clarify the operation of this code with some additional comments. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
85b469215f
commit
0864c565a2
3 changed files with 16 additions and 3 deletions
|
@ -29,7 +29,12 @@ efi_status_t efi_smbios_register(void)
|
|||
if (ret != EFI_SUCCESS)
|
||||
return ret;
|
||||
|
||||
/* Generate SMBIOS tables */
|
||||
/*
|
||||
* Generate SMBIOS tables - we know that efi_allocate_pages() returns
|
||||
* a 4k-aligned address, so it is safe to assume that
|
||||
* write_smbios_table() will write the table at that address.
|
||||
*/
|
||||
assert(!(dmi & 0xf));
|
||||
write_smbios_table(dmi);
|
||||
|
||||
/* And expose them to our EFI payload */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue