summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-16 06:51:58 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-22 11:49:34 +0000
commit32661c7a354580d153d1a697c7443baf840ffad6 (patch)
treedb6c539b2fef0640a8e4295842c9c93883182100
parentc4ef8e4c2bb444653440881283f4b79d09e0f49c (diff)
downloadcoreboot-32661c7a354580d153d1a697c7443baf840ffad6.tar.xz
soc/qualcomm/sc7180/qupv3_config.c: Add missing includes
Add <string.h> and <cbfs.h> Change-Id: I7e66a3cbf50fa27b4f6be6885b324de90eddd387 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42343 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--src/soc/qualcomm/sc7180/include/soc/qupv3_config.h1
-rw-r--r--src/soc/qualcomm/sc7180/qupv3_config.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/qualcomm/sc7180/include/soc/qupv3_config.h b/src/soc/qualcomm/sc7180/include/soc/qupv3_config.h
index d67c0b5951..b5959849aa 100644
--- a/src/soc/qualcomm/sc7180/include/soc/qupv3_config.h
+++ b/src/soc/qualcomm/sc7180/include/soc/qupv3_config.h
@@ -4,7 +4,6 @@
#define _SC7180_QUPV3_CONFIG_H_
#include <assert.h>
-#include <cbfs.h>
#include <soc/clock.h>
#include <soc/qcom_qup_se.h>
diff --git a/src/soc/qualcomm/sc7180/qupv3_config.c b/src/soc/qualcomm/sc7180/qupv3_config.c
index 2c4554dabe..b5adee2b7c 100644
--- a/src/soc/qualcomm/sc7180/qupv3_config.c
+++ b/src/soc/qualcomm/sc7180/qupv3_config.c
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <cbfs.h>
+#include <string.h>
#include <soc/qupv3_config.h>
static struct elf_se_hdr *fw_list[SE_PROTOCOL_MAX];