Subrata Banik | 2b2ade9 | 2020-10-31 21:07:16 +0530 | [diff] [blame] | 1 | /* 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 | |||||
7 | void 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 | } |