diff options
| author | Simon Glass <[email protected]> | 2023-12-31 08:25:48 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2024-01-07 13:45:06 -0700 |
| commit | b2b58e1ef5c3f60ce6db1d6192c265d4ee45b170 (patch) | |
| tree | 3ec072a0ea325ab57462708b586f9f78781e70fc /lib | |
| parent | 70924294f375c351339f029b9615b52608e04cf4 (diff) | |
smbios: Correct gd_smbios_start()
This should access arch-specific properties. Fix it and update the
existing usage.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/efi_loader/efi_smbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_smbios.c b/lib/efi_loader/efi_smbios.c index bbb8421ce14..49adc87e45a 100644 --- a/lib/efi_loader/efi_smbios.c +++ b/lib/efi_loader/efi_smbios.c @@ -28,7 +28,7 @@ efi_status_t efi_smbios_register(void) ulong addr; efi_status_t ret; - addr = gd->arch.smbios_start; + addr = gd_smbios_start(); if (!addr) { log_err("No SMBIOS tables to install\n"); return EFI_NOT_FOUND; |
