diff options
author | Simon Glass <sjg@chromium.org> | 2023-12-31 08:25:47 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-01-07 13:45:06 -0700 |
commit | 70924294f375c351339f029b9615b52608e04cf4 (patch) | |
tree | 0439d95d7bb8926aacede0981ccb8ce55c1fca6b /lib/image-sparse.c | |
parent | de4b91ca686f1bedf46319f31b626cfe26665810 (diff) |
smbios: Use SMBIOS 3.0 to support an address above 4GB
When the SMBIOS table is written to an address above 4GB a 32-bit table
address is not large enough.
Use an SMBIOS3 table in that case.
Note that we cannot use efi_allocate_pages() since this function has
nothing to do with EFI. There is no equivalent function to allocate
memory below 4GB in U-Boot. One solution would be to create a separate
malloc() pool, or just always put the malloc() pool below 4GB.
- Use log_debug() for warning
- Rebase on Heinrich's smbios.h patch
- Set the checksum for SMBIOS3
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/image-sparse.c')
0 files changed, 0 insertions, 0 deletions