summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common
diff options
context:
space:
mode:
authorJarried Lin <jarried.lin@mediatek.corp-partner.google.com>2024-10-24 21:01:30 +0800
committerYu-Ping Wu <yupingso@google.com>2024-10-28 03:35:29 +0000
commit186916ca1e02d77b623a75a21ccb5831c59cf4ba (patch)
treea4ecaee4beb0932f07710d4ca6771e70381ac2da /src/soc/mediatek/common
parent6d8bb8cf29653568f2446bbc7f2a1b37d3396276 (diff)
soc/mediatek/common: Move PCIe definition to the common directory
To reduce duplicate pcie.h in other SOC folder, mocw pcie.h to mediatek/common folder TEST=Build pass BUG=b:317009620 Change-Id: I8e29ed4027433700652b07b3461eeb8546d45c9b Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84853 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/soc/mediatek/common')
-rw-r--r--src/soc/mediatek/common/include/soc/pcie.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/include/soc/pcie.h b/src/soc/mediatek/common/include/soc/pcie.h
new file mode 100644
index 0000000000..1906a3fadb
--- /dev/null
+++ b/src/soc/mediatek/common/include/soc/pcie.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
+
+#ifndef SOC_MEDIATEK_COMMON_PCIE_H
+#define SOC_MEDIATEK_COMMON_PCIE_H
+
+#include <soc/pcie_common.h>
+#include <types.h>
+
+void mtk_pcie_pre_init(void);
+
+bool mainboard_needs_pcie_init(void);
+
+#endif