diff options
author | Tom Rini <trini@konsulko.com> | 2018-06-03 12:27:56 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-06-03 12:27:56 -0400 |
commit | a0115ceb56ad71c3c34091d9d8ba5938708c900d (patch) | |
tree | a5a434d90cab87552a360598995569b2defb573a /lib/efi_loader/efi_smbios.c | |
parent | 22781fca1d5aa9270a42271f9c20d97b85f72b73 (diff) | |
parent | 80483b2ab62ca7cd200db445b6920ee96d17df88 (diff) |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-06-03
A number of fixes and feature completeness work this time around:
- Fix sunxi GOP reservation
- Fix cursor position
- Fix efi_get_variable
- Allow more selftest parts to build on x86_64
- Allow unaligned memory access on armv7
- Implement ReinstallProtocolInterface
- More sandbox preparation
Diffstat (limited to 'lib/efi_loader/efi_smbios.c')
-rw-r--r-- | lib/efi_loader/efi_smbios.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_smbios.c b/lib/efi_loader/efi_smbios.c index 482436e2adb..7c3fc8af0b2 100644 --- a/lib/efi_loader/efi_smbios.c +++ b/lib/efi_loader/efi_smbios.c @@ -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 */ |