From 847da793833d2d16d964cedc225aabe7e85e9284 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 5 Dec 2016 19:15:17 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/17721 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/skylake/romstage/romstage_fsp20.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/soc') 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) -- cgit v1.2.3