summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-13 12:52:24 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-26 21:37:12 +0000
commit722e610fbc287a44112db3cef8996ebba0343440 (patch)
tree0c9986b0bbe6ca0626ac6cfddcbfcaec9d1b70bc /src/soc
parent07b7fc1bca1e8c9b70b58bb5f8ed785cf43ab3ae (diff)
soc/amd/common/block/psp/psp_smm.c: Add missing <string.h>
'memset' needs <string.h>. Change-Id: Idc1d72e92c97cd5139ae7439aadb575ef011129a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42342 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/psp/psp_smm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/psp/psp_smm.c b/src/soc/amd/common/block/psp/psp_smm.c
index f919668190..92b0cc6de3 100644
--- a/src/soc/amd/common/block/psp/psp_smm.c
+++ b/src/soc/amd/common/block/psp/psp_smm.c
@@ -9,6 +9,8 @@
#include <console/console.h>
#include <amdblocks/psp.h>
#include <soc/iomap.h>
+#include <string.h>
+
#include "psp_def.h"
#define C2P_BUFFER_MAXSIZE 0xc00 /* Core-to-PSP buffer */