summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-09 15:57:26 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-08-10 03:34:29 +0000
commit920b2d05b6b859af14de3d52eb8db9927ca6229a (patch)
tree84f4a261ca559550b171658a4c5328f10f6be0a2
parentdb5dbdf310bca698acaa4ce945692ef59147aca4 (diff)
device/dram/spd: Add missing <smbios.h>
Use of smbios_memory_type needs <smbios.h>. Change-Id: Iacab6171c61abd047c09ff7e20313a455bd8414f Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82245 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
-rw-r--r--src/device/dram/spd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/dram/spd.c b/src/device/dram/spd.c
index 41ec7c52c7..ef7aead7f6 100644
--- a/src/device/dram/spd.c
+++ b/src/device/dram/spd.c
@@ -5,6 +5,7 @@
#include <device/dram/ddr4.h>
#include <device/dram/ddr5.h>
#include <device/dram/spd.h>
+#include <smbios.h>
#include <spd.h>
#include <stddef.h>