summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/fsp/fsp_reset.c
blob: 62480bf31988f75611a73e681ee80f47bd2c3fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#include <amdblocks/reset.h>
#include <assert.h>
#include <console/console.h>
#include <fsp/util.h>
#include <stdint.h>

void chipset_handle_reset(uint32_t status)
{
	printk(BIOS_ERR, "Error: unexpected call to %s(0x%08x).  Doing cold reset.\n",
			__func__, status);
	BUG();
	do_cold_reset();
}