summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/include
diff options
context:
space:
mode:
authorJonathan Zhang <jonzhang@fb.com>2022-08-08 15:38:54 -0700
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-11-08 22:55:20 +0000
commitfe17a7d4d420763ef387e84256eaed0373c25725 (patch)
treeae5069dfc9631a2300b3437dfed03bee45310d35 /src/soc/intel/xeon_sp/include
parenta2503fa2e9c1c69495c29c4dfb00e7413952523d (diff)
soc/intel/xeon_sp: accomodate xeon_sp FSPX_CONFIG definitions
Intel FSPs of XEON server platforms define FSPX_CONFIG instead of FSP_X_CONFIG, which is expected by coreboot. Re-define in the common code. Update coreboot code to use FSP_X_CONFIG consistently. Tested=On OCP Delta Lake, boot up OS successfully. Signed-off-by: Jonathan Zhang <jonzhang@fb.com> Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com> Change-Id: Ifa0e1efa1618fbec84f1e1f23d9e49f3b1057b32 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69090 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/include')
-rw-r--r--src/soc/intel/xeon_sp/include/soc/fsp_upd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/include/soc/fsp_upd.h b/src/soc/intel/xeon_sp/include/soc/fsp_upd.h
new file mode 100644
index 0000000000..15ce96f9ff
--- /dev/null
+++ b/src/soc/intel/xeon_sp/include/soc/fsp_upd.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef _FSP_UPD_H_
+#define _FSP_UPD_H_
+
+/*
+ * Intel FSPs of XEON server platforms define FSPX_CONFIG
+ * instead of FSP_X_CONFIG, which is expected by coreboot.
+ */
+#define FSP_T_CONFIG FSPT_CONFIG
+#define FSP_M_CONFIG FSPM_CONFIG
+#define FSP_S_CONFIG FSPS_CONFIG
+
+#endif