Angel Pons | 230e4f9d | 2020-04-05 15:47:14 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lee Leahy | 102f625 | 2016-07-25 07:41:54 -0700 | [diff] [blame] | 2 | |
Patrick Rudolph | f677d17 | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 3 | #include <cf9_reset.h> |
Lee Leahy | 102f625 | 2016-07-25 07:41:54 -0700 | [diff] [blame] | 4 | #include <console/console.h> |
| 5 | #include <fsp/util.h> |
Lee Leahy | 102f625 | 2016-07-25 07:41:54 -0700 | [diff] [blame] | 6 | |
Lee Leahy | 44ec92a | 2016-09-28 17:16:44 -0700 | [diff] [blame] | 7 | void chipset_handle_reset(uint32_t status) |
Lee Leahy | 102f625 | 2016-07-25 07:41:54 -0700 | [diff] [blame] | 8 | { |
| 9 | /* Do a hard reset if Quark FSP ever requests a reset */ |
| 10 | printk(BIOS_ERR, "Unknown reset type %x\n", status); |
Patrick Rudolph | f677d17 | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 11 | full_reset(); |
Lee Leahy | 102f625 | 2016-07-25 07:41:54 -0700 | [diff] [blame] | 12 | } |