summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2016-12-05 19:15:17 +0530
committerMartin Roth <martinroth@google.com>2016-12-07 20:15:22 +0100
commit847da793833d2d16d964cedc225aabe7e85e9284 (patch)
treed3500f57e5325cfc4eee3cc625e69a303e7fab5e /src
parent00563bf054770482a24282d3b0f15057af60de5a (diff)
downloadcoreboot-847da793833d2d16d964cedc225aabe7e85e9284.tar.xz
soc/intel/skylake: Remove redundant BootLoaderTolumSize assignment
BootLoaderTolumSize FSP-M UPD is already initialized with cbmem_overhead_size() inside driver/fsp2_0/memory_init.c, hence remove the duplicate assignment. Change-Id: I0b1d9769cd2a863bf0547ce5f44928cacc5a63b6 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/17721 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/skylake/romstage/romstage_fsp20.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/skylake/romstage/romstage_fsp20.c b/src/soc/intel/skylake/romstage/romstage_fsp20.c
index 1132577f10..73d726c183 100644
--- a/src/soc/intel/skylake/romstage/romstage_fsp20.c
+++ b/src/soc/intel/skylake/romstage/romstage_fsp20.c
@@ -163,10 +163,6 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
m_t_cfg->DidInitStat = 0x01;
mainboard_memory_init_params(mupd);
-
- /* Reserve enough memory under TOLUD to save CBMEM header */
- mupd->FspmArchUpd.BootLoaderTolumSize = cbmem_overhead_size();
-
}
__attribute__((weak)) void mainboard_memory_init_params(FSPM_UPD *mupd)