summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/reset.h
blob: c34546489b212003d922b7ef060f3d8c86b8c250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This file is part of the coreboot project. */
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef _INTEL_COMMON_RESET_H_
#define _INTEL_COMMON_RESET_H_

/*
 * Implement SoC specific global reset (i.e. a reset of both host and
 * ME partitions). Usually the ME is asked to perform the reset first.
 * If that doesn't work out, fall back to a manual global reset.
 */
void do_global_reset(void);

/* Prepare for reset, run do_global_reset(), halt. */
__noreturn void global_reset(void);

#endif	/* _INTEL_COMMON_RESET_H_ */