Angel Pons | 80d9238 | 2020-04-05 15:47:00 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 2 | |
| 3 | #include <console/console.h> |
| 4 | #include <fsp/util.h> |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 5 | |
| 6 | void chipset_handle_reset(uint32_t status) |
| 7 | { |
| 8 | switch (status) { |
| 9 | case FSP_STATUS_RESET_REQUIRED_5: /* Global Reset */ |
Patrick Rudolph | f677d17 | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 10 | die("Global Reset not implemented!\n"); |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 11 | break; |
| 12 | default: |
| 13 | printk(BIOS_ERR, "unhandled reset type %x\n", status); |
| 14 | die("unknown reset type"); |
| 15 | break; |
| 16 | } |
| 17 | } |