blob: bd19476178bebb3e5b99ac423118104e093a4a4f [file] [log] [blame]
Angel Pons80d92382020-04-05 15:47:00 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Mariusz Szafranskia4041332017-08-02 17:28:17 +02002
3#include <console/console.h>
4#include <fsp/util.h>
Mariusz Szafranskia4041332017-08-02 17:28:17 +02005
6void chipset_handle_reset(uint32_t status)
7{
8 switch (status) {
9 case FSP_STATUS_RESET_REQUIRED_5: /* Global Reset */
Patrick Rudolphf677d172018-10-01 19:17:11 +020010 die("Global Reset not implemented!\n");
Mariusz Szafranskia4041332017-08-02 17:28:17 +020011 break;
12 default:
13 printk(BIOS_ERR, "unhandled reset type %x\n", status);
14 die("unknown reset type");
15 break;
16 }
17}