summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-04-07 22:42:42 +0200
committerMartin L Roth <gaumless@tutanota.com>2022-05-28 05:15:15 +0000
commit0c949852485a1add4d8f0ea7f4770693595d80c5 (patch)
treee7ba8617fa83b26cfea5a05aa5885d4da50af9d5 /src/arch/x86
parentd5ada6d78162e60b4a984a32eb3689a0f492ee37 (diff)
arch/x86/tables.c: Increase MAX_SMBIOS_SIZE
Systems have a lot more cores now and 4KiB is not cutting it. E.g. for a system with 255 cores more than 16KiB is needed. We could also make this a Kconfig parameter but it's probably not worth having such micro optimizations to save a few KiB. Change-Id: Idd47e55d8d679cc70eae996ee1af3ad7eaa1d0cc Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63484 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/tables.c b/src/arch/x86/tables.c
index 1018dce335..8d2f7b6f20 100644
--- a/src/arch/x86/tables.c
+++ b/src/arch/x86/tables.c
@@ -142,7 +142,7 @@ static unsigned long write_smbios_table(unsigned long rom_table_end)
{
unsigned long high_table_pointer;
-#define MAX_SMBIOS_SIZE (4 * KiB)
+#define MAX_SMBIOS_SIZE (32 * KiB)
high_table_pointer = (unsigned long)cbmem_add(CBMEM_ID_SMBIOS,
MAX_SMBIOS_SIZE);