summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-08 10:02:56 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-09 15:26:51 +0000
commit26a692145ae7218e96526ee82e3d1d2687d06f54 (patch)
treeeef1549aea482048ce801617ee1eb009cdac14b8
parentcc93c6e47480de06ce87705a93bc46d806cabbb3 (diff)
src: Add missing <cbmem.h>
Change-Id: I75a816c594b326df8a4aa5458bb055fca35e1741 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50379 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
-rw-r--r--src/include/imd_private.h1
-rw-r--r--src/security/vboot/vboot_loader.c1
-rw-r--r--src/soc/amd/common/block/pi/refcode_loader.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/include/imd_private.h b/src/include/imd_private.h
index 43c3b7d50b..fea7315de1 100644
--- a/src/include/imd_private.h
+++ b/src/include/imd_private.h
@@ -1,6 +1,7 @@
#ifndef _IMD_PRIVATE_H_
#define _IMD_PRIVATE_H_
+#include <cbmem.h>
#include <commonlib/bsd/helpers.h>
/* In-memory data structures. */
diff --git a/src/security/vboot/vboot_loader.c b/src/security/vboot/vboot_loader.c
index 234ae8f4ad..56a0664328 100644
--- a/src/security/vboot/vboot_loader.c
+++ b/src/security/vboot/vboot_loader.c
@@ -2,6 +2,7 @@
#include <boot_device.h>
#include <cbfs.h>
+#include <cbmem.h>
#include <commonlib/bsd/cbfs_private.h>
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
diff --git a/src/soc/amd/common/block/pi/refcode_loader.c b/src/soc/amd/common/block/pi/refcode_loader.c
index 9fc73d4e59..274291de56 100644
--- a/src/soc/amd/common/block/pi/refcode_loader.c
+++ b/src/soc/amd/common/block/pi/refcode_loader.c
@@ -2,6 +2,7 @@
#include <acpi/acpi.h>
#include <cbfs.h>
+#include <cbmem.h>
#include <console/console.h>
#include <rmodule.h>
#include <stage_cache.h>