From ba35f3582e95fdc3d9313a63d6ee0072283f5c7f Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 18 Oct 2022 20:43:00 +0200 Subject: soc/amd: move all AOAC function prototypes to amdblocks/aoac.h Signed-off-by: Felix Held Change-Id: I3deae150cd1e20fff6507a0f0ba6a375fca430e5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68559 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger --- src/soc/amd/common/block/include/amdblocks/aoac.h | 3 +++ src/soc/amd/common/psp_verstage/fch.c | 1 + 2 files changed, 4 insertions(+) (limited to 'src/soc/amd/common') diff --git a/src/soc/amd/common/block/include/amdblocks/aoac.h b/src/soc/amd/common/block/include/amdblocks/aoac.h index 455f32d9e6..3944e2e584 100644 --- a/src/soc/amd/common/block/include/amdblocks/aoac.h +++ b/src/soc/amd/common/block/include/amdblocks/aoac.h @@ -35,5 +35,8 @@ bool is_aoac_device_enabled(unsigned int dev); void power_on_aoac_device(unsigned int dev); void power_off_aoac_device(unsigned int dev); +/* the following 2 functions are implemented in the SoC code */ +void enable_aoac_devices(void); +void wait_for_aoac_enabled(unsigned int dev); #endif /* AMD_BLOCK_AOAC_H */ diff --git a/src/soc/amd/common/psp_verstage/fch.c b/src/soc/amd/common/psp_verstage/fch.c index d4dcd21b31..7f850fd149 100644 --- a/src/soc/amd/common/psp_verstage/fch.c +++ b/src/soc/amd/common/psp_verstage/fch.c @@ -3,6 +3,7 @@ #include "psp_verstage.h" #include +#include #include #include #include -- cgit v1.2.3