aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/fsp_reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/fsp_reset.c')
-rw-r--r--src/soc/intel/common/fsp_reset.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/soc/intel/common/fsp_reset.c b/src/soc/intel/common/fsp_reset.c
new file mode 100644
index 0000000000..e89fe4cc53
--- /dev/null
+++ b/src/soc/intel/common/fsp_reset.c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <console/console.h>
+#include <fsp/util.h>
+#include <soc/intel/common/reset.h>
+
+void chipset_handle_reset(uint32_t status)
+{
+ if (status == CONFIG_FSP_STATUS_GLOBAL_RESET) {
+ printk(BIOS_DEBUG, "GLOBAL RESET!\n");
+ global_reset();
+ }
+
+ printk(BIOS_ERR, "unhandled reset type %x\n", status);
+ die("unknown reset type");
+}