diff options
author | Simon Glass | 2023-12-31 08:25:48 -0700 |
---|---|---|
committer | Simon Glass | 2024-01-07 13:45:06 -0700 |
commit | b2b58e1ef5c3f60ce6db1d6192c265d4ee45b170 (patch) | |
tree | 3ec072a0ea325ab57462708b586f9f78781e70fc /include/asm-generic | |
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 <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/global_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 99bde9ec7e4..fcc3c6e14ca 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -553,7 +553,7 @@ static_assert(sizeof(struct global_data) == GD_SIZE); #endif #ifdef CONFIG_SMBIOS -#define gd_smbios_start() gd->smbios_start +#define gd_smbios_start() gd->arch.smbios_start #define gd_set_smbios_start(addr) gd->arch.smbios_start = addr #else #define gd_smbios_start() 0UL |