summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/include/soc/ramstage.h
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-05-07 01:32:32 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 08:29:28 +0000
commitf00b3375257c4128551b040f2b6a0d086c267bc9 (patch)
tree0f92a3d0f3f199e93be94a4c53a2644708638471 /src/soc/intel/xeon_sp/include/soc/ramstage.h
parente5ec91b393992dbdefdf7b5b6778445ddb39027e (diff)
downloadcoreboot-f00b3375257c4128551b040f2b6a0d086c267bc9.tar.xz
soc/intel/xeon_sp: make CPX ramstage.h common for CPX, SKX
CB:41106 revealed that mb/intel/cedarisland already sets FSP-S UPD (see CB:40735) while the required includes are still missing in CPX. Buildbot did not fail because `ramstage.c` never was (implicitly) included. Fix this problem by making SKX/CPX share a common ramstage header for now by moving the one from SKX. Test: Build cedarisland_crb Change-Id: I9cd25edd167ec71ee98c7ffa4fa6f95ca73a75e9 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41116 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/include/soc/ramstage.h')
-rw-r--r--src/soc/intel/xeon_sp/include/soc/ramstage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/include/soc/ramstage.h b/src/soc/intel/xeon_sp/include/soc/ramstage.h
new file mode 100644
index 0000000000..18373f8884
--- /dev/null
+++ b/src/soc/intel/xeon_sp/include/soc/ramstage.h
@@ -0,0 +1,17 @@
+/* This file is part of the coreboot project. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef _SOC_RAMSTAGE_H_
+#define _SOC_RAMSTAGE_H_
+
+#include <device/device.h>
+#include <fsp/api.h>
+#include <fsp/util.h>
+#include <memory_info.h>
+
+void xeon_sp_init_cpus(struct device *dev);
+void mainboard_silicon_init_params(FSPS_UPD *params);
+
+extern struct pci_operations soc_pci_ops;
+
+#endif