aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-12-20 19:44:18 +0000
committerPatrick Georgi <pgeorgi@google.com>2021-01-11 17:23:53 +0000
commitd456f65056530faccca31b392ffaff7bcc0953b3 (patch)
tree0528a0b95cd7ac09e28ea2ecd208f2f086255d3b /src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
parent5569bddf66b44caf88acb54ea4a5dc7c1286762a (diff)
{soc,vc,mb}/intel: Drop support for Cannon Lake SoC
Drop the support for the Intel Cannon Lake SoC for various reasons: * Most people can't use coreboot on Cannon Lake, since the required FSP binaries aren't publicly available. Given that FSP binaries for several newer platforms have been released, it's very unlikely that Cannon Lake FSP will ever be released. * It seems there is no interest in this, since the reference mainboard is the only available mainboard in tree. Also, remove the related reference mainboard intel/cannonlake_rvp and its FSP headers in intel/fsp2_0/cannonlake. Change-Id: I8f698e16099acb45444b2bc675642d161ff8c237 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48775 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c')
-rw-r--r--src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c b/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
deleted file mode 100644
index 5b7445f067..0000000000
--- a/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <console/console.h>
-#include <fsp/api.h>
-#include <soc/romstage.h>
-#include "spd/spd.h"
-#include <spd_bin.h>
-
-void mainboard_memory_init_params(FSPM_UPD *mupd)
-{
- FSP_M_CONFIG *mem_cfg;
- mem_cfg = &mupd->FspmConfig;
- u8 spd_index;
-
- mainboard_fill_dq_map_ch0(&mem_cfg->DqByteMapCh0);
- mainboard_fill_dq_map_ch1(&mem_cfg->DqByteMapCh1);
- mainboard_fill_dqs_map_ch0(&mem_cfg->DqsMapCpu2DramCh0);
- mainboard_fill_dqs_map_ch1(&mem_cfg->DqsMapCpu2DramCh1);
- mainboard_fill_rcomp_res_data(&mem_cfg->RcompResistor);
- mainboard_fill_rcomp_strength_data(&mem_cfg->RcompTarget);
-
- mem_cfg->DqPinsInterleaved = 0;
- mem_cfg->CaVrefConfig = 0; /* VREF_CA->CHA/CHB */
- mem_cfg->ECT = 1; /* Early Command Training Enabled */
- spd_index = 2;
-
- struct region_device spd_rdev;
-
- if (get_spd_cbfs_rdev(&spd_rdev, spd_index) < 0)
- die("spd.bin not found\n");
-
- mem_cfg->MemorySpdDataLen = region_device_sz(&spd_rdev);
- /* Memory leak is ok since we have memory mapped boot media */
- mem_cfg->MemorySpdPtr00 = (uintptr_t)rdev_mmap_full(&spd_rdev);
- mem_cfg->RefClk = 0; /* Auto Select CLK freq */
- mem_cfg->MemorySpdPtr10 = mem_cfg->MemorySpdPtr00;
-}