blob: e89fe4cc5358563c13e85f1f9a4a1bf0c8a44b2e [file] [log] [blame]
Subrata Banik2b2ade92020-10-31 21:07:16 +05301/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <console/console.h>
4#include <fsp/util.h>
5#include <soc/intel/common/reset.h>
6
7void chipset_handle_reset(uint32_t status)
8{
9 if (status == CONFIG_FSP_STATUS_GLOBAL_RESET) {
10 printk(BIOS_DEBUG, "GLOBAL RESET!\n");
11 global_reset();
12 }
13
14 printk(BIOS_ERR, "unhandled reset type %x\n", status);
15 die("unknown reset type");
16}