Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/50379 )
Change subject: src: Add missing <cbmem.h> ......................................................................
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 --- M src/include/imd_private.h M src/security/vboot/vboot_loader.c M src/soc/amd/common/block/pi/refcode_loader.c 3 files changed, 3 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Marshall Dawson: Looks good to me, approved Angel Pons: Looks good to me, approved
diff --git a/src/include/imd_private.h b/src/include/imd_private.h index 43c3b7d..fea7315 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 234ae8f..56a0664 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 9fc73d4..274291d 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>