summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/fsp_broadwell_de/romstage/romstage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c
index 121cb25d61..38cd9476c5 100644
--- a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c
+++ b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c
@@ -94,7 +94,6 @@ void *asmlinkage main(FSP_INFO_HEADER *fsp_info_header)
*/
void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr)
{
- int cbmem_was_initted;
void *cbmem_hob_ptr;
post_code(0x4a);
@@ -113,7 +112,7 @@ void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr)
late_mainboard_romstage_entry();
post_code(0x4d);
- cbmem_was_initted = !cbmem_recovery(0);
+ cbmem_recovery(0);
/* Save the HOB pointer in CBMEM to be used in ramstage*/
cbmem_hob_ptr = cbmem_add(CBMEM_ID_HOB_POINTER, sizeof(*hob_list_ptr));