From a5cdf75f690c2fb48d00df6ab4e7ba2bfd8a4480 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 10 Mar 2021 15:47:00 +0100 Subject: soc/amd: move warm reset flag function prototypes to common code Even though the implementation is different on Stoneyridge compared to Picasso and Cezanne, the function prototypes are identical, so move them to the AMD SoC common reset header file. Signed-off-by: Felix Held Change-Id: I8d3a3a9ea568ea18658c49612efabdbe36d5f957 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51395 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/common/block/include/amdblocks/reset.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/include/amdblocks/reset.h b/src/soc/amd/common/block/include/amdblocks/reset.h index b825f471a5..353720c1e0 100644 --- a/src/soc/amd/common/block/include/amdblocks/reset.h +++ b/src/soc/amd/common/block/include/amdblocks/reset.h @@ -9,6 +9,8 @@ void do_warm_reset(void); void do_cold_reset(void); +void set_warm_reset_flag(void); +int is_warm_reset(void); static inline __noreturn void warm_reset(void) { -- cgit v1.2.3