aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-19 21:00:15 -0600
committerBin Meng <bmeng@tinylab.org>2023-09-22 06:05:40 +0800
commit50834884a8159845475fdc28ac196a41fe4d4915 (patch)
treede74554a4ac0e047047d3addb117cba425483aeb /arch/riscv
parent1b1d36ec58f43585081b387ee44053278e480171 (diff)
downloadu-boot-50834884a8159845475fdc28ac196a41fe4d4915.zip
u-boot-50834884a8159845475fdc28ac196a41fe4d4915.tar.gz
u-boot-50834884a8159845475fdc28ac196a41fe4d4915.tar.bz2
Record the position of the SMBIOS tables
Remember where these end up so that we can pass this information on to the EFI layer. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/include/asm/global_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h
index 9d97517..937fa4d 100644
--- a/arch/riscv/include/asm/global_data.h
+++ b/arch/riscv/include/asm/global_data.h
@@ -32,6 +32,9 @@ struct arch_global_data {
ulong available_harts;
#endif
#endif
+#ifdef CONFIG_SMBIOS
+ ulong smbios_start; /* Start address of SMBIOS table */
+#endif
};
#include <asm-generic/global_data.h>