Felix Held | e04a18f | 2020-12-10 16:49:28 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <amdblocks/reset.h> | ||||
4 | #include <assert.h> | ||||
5 | #include <console/console.h> | ||||
6 | #include <fsp/util.h> | ||||
7 | #include <stdint.h> | ||||
8 | |||||
9 | void chipset_handle_reset(uint32_t status) | ||||
10 | { | ||||
11 | printk(BIOS_ERR, "Error: unexpected call to %s(0x%08x). Doing cold reset.\n", | ||||
12 | __func__, status); | ||||
13 | BUG(); | ||||
14 | do_cold_reset(); | ||||
15 | } |