summaryrefslogtreecommitdiffstats
path: root/src/mainboard/ocp/deltalake/romstage.c
diff options
context:
space:
mode:
authorJonathan Zhang <jonzhang@fb.com>2020-04-09 10:42:19 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-22 12:21:18 +0000
commit826523b679d0ca0c2435b9de6ad4c01da360f038 (patch)
tree2edca26482a10521eb36549643785b41170cd2cb /src/mainboard/ocp/deltalake/romstage.c
parent08ef4f10c76db862e1bc65f4164c4de941b38160 (diff)
downloadcoreboot-826523b679d0ca0c2435b9de6ad4c01da360f038.tar.gz
coreboot-826523b679d0ca0c2435b9de6ad4c01da360f038.tar.bz2
coreboot-826523b679d0ca0c2435b9de6ad4c01da360f038.zip
mb/ocp/deltalake: Add OCP Delta Lake mainboard
OCP Delta Lake server is a one socket server platform powered by Intel Cooper Lake Scalable Processor. The Delta Lake server is a blade of OCP Yosemite V3 multi-host sled. TESTED=Successfully booted on both YV3 config A Delta Lake server and config C Delta Lake server. The coreboot payload is Linux kernel plus u-root as initramfs. Below are the logs of ssh'ing into a config C deltalake server: jonzhang@devvm2573:~$ ssh yv3-cth root@ip's password: Last login: Mon Apr 20 21:56:51 2020 from [root@dhcp-100-96-192-156 ~]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 52 On-line CPU(s) list: 0-51 ... [root@dhcp-100-96-192-156 ~]# cbmem 34 entries total: 0:1st timestamp 28,621,996 40:device configuration 178,835,602 (150,213,605) ... Total Time: 135,276,123,874,479,544 [root@dhcp-100-96-192-156 ~]# cat /proc/cmdline root=UUID=f0fc52f2-e8b8-40f8-ac42-84c9f838394c ro crashkernel=auto selinux=0 console=ttyS1,57600n1 LANG=en_US.UTF-8 earlyprintk=serial,ttyS0,57600 earlyprintk=uart8250,io,0x2f8,57600n1 console=ttyS0,57600n1 loglevel=7 systemd.log_level=debug Signed-off-by: Jonathan Zhang <jonzhang@fb.com> Signed-off-by: Reddy Chagam <anjaneya.chagam@intel.com> Change-Id: I0a5234d483e4ddea1cd37643b41f6aba65729c8e Reviewed-on: https://review.coreboot.org/c/coreboot/+/40387 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/mainboard/ocp/deltalake/romstage.c')
-rw-r--r--src/mainboard/ocp/deltalake/romstage.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mainboard/ocp/deltalake/romstage.c b/src/mainboard/ocp/deltalake/romstage.c
new file mode 100644
index 000000000000..35c7e2d14b97
--- /dev/null
+++ b/src/mainboard/ocp/deltalake/romstage.c
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <fsp/api.h>
+#include <FspmUpd.h>
+#include <soc/romstage.h>
+
+/*
+* Configure GPIO depend on platform
+*/
+static void mainboard_config_gpios(FSPM_UPD *mupd)
+{
+ /* To be implemented */
+}
+
+static void mainboard_config_iio(FSPM_UPD *mupd)
+{
+ /* To be implemented */
+}
+
+void mainboard_memory_init_params(FSPM_UPD *mupd)
+{
+ mainboard_config_gpios(mupd);
+ mainboard_config_iio(mupd);
+}