blob: d9c6ac622888d6dfd62f6815ecebc47aec74af27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* 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);
/*
* Return PCH Reset Status
* The return status can be between EfiResetCold, EfiResetWarm, EfiResetShutdown
* or EfiResetPlatformSpecific.
*
* If reset type if `EfiResetPlatformSpecific` then relying on pch_reset_data structure
* to know if the reset type is a global reset.
*/
uint32_t fsp_get_pch_reset_status(void);
#endif /* _INTEL_COMMON_RESET_H_ */
|