summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/alderlake/romstage/romstage.c7
-rw-r--r--src/soc/intel/alderlake/romstage/ux.h5
2 files changed, 11 insertions, 1 deletions
diff --git a/src/soc/intel/alderlake/romstage/romstage.c b/src/soc/intel/alderlake/romstage/romstage.c
index d2abaee532..d3a2884018 100644
--- a/src/soc/intel/alderlake/romstage/romstage.c
+++ b/src/soc/intel/alderlake/romstage/romstage.c
@@ -205,8 +205,13 @@ void mainboard_romstage_entry(void)
}
}
- if (CONFIG(SOC_INTEL_CSE_LITE_SYNC_IN_ROMSTAGE) && !s3wake)
+ if (CONFIG(SOC_INTEL_CSE_LITE_SYNC_IN_ROMSTAGE) && !s3wake) {
+ cse_fill_bp_info();
+ if (CONFIG(CHROMEOS_ENABLE_ESOL) &&
+ is_cse_fw_update_required() && !is_cse_boot_to_rw())
+ ux_inform_user_of_update_operation("CSE update");
cse_fw_sync();
+ }
/* Program MCHBAR, DMIBAR, GDXBAR and EDRAMBAR */
systemagent_early_init();
diff --git a/src/soc/intel/alderlake/romstage/ux.h b/src/soc/intel/alderlake/romstage/ux.h
index e7e1d9957e..14c10e7ffd 100644
--- a/src/soc/intel/alderlake/romstage/ux.h
+++ b/src/soc/intel/alderlake/romstage/ux.h
@@ -1,3 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _SOC_INTEL_ALDERLAKE_ROMSTAGE_UX_H_
+#define _SOC_INTEL_ALDERLAKE_ROMSTAGE_UX_H_
+
bool ux_inform_user_of_update_operation(const char *name);
+
+#endif /* _SOC_INTEL_ALDERLAKE_ROMSTAGE_UX_H_ */