From 88db14d788c768f1124eb4f9c8ddff3d150e6cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 19 Oct 2014 23:51:33 +0300 Subject: [PATCH] AGESA fam15tn fam16kb: Fix missing FCH function prototypes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I242664032d368794d828fce73a20f75ded45051d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/7151 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/amd/olivehill/agesawrapper.c | 2 -- src/mainboard/amd/parmer/agesawrapper.c | 2 -- src/mainboard/amd/thatcher/agesawrapper.c | 2 -- src/mainboard/asrock/imb-a180/agesawrapper.c | 2 -- src/mainboard/asus/f2a85-m/agesawrapper.c | 2 -- src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c | 2 -- src/vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h | 10 ++++++++++ .../amd/agesa/f15tn/Proc/Fch/Interface/FchInitS3.c | 9 --------- src/vendorcode/amd/agesa/f16kb/Proc/Fch/FchPlatform.h | 10 ++++++++++ .../amd/agesa/f16kb/Proc/Fch/Interface/FchInitS3.c | 9 --------- 10 files changed, 20 insertions(+), 30 deletions(-) diff --git a/src/mainboard/amd/olivehill/agesawrapper.c b/src/mainboard/amd/olivehill/agesawrapper.c index 8cb4728c62..604278b551 100644 --- a/src/mainboard/amd/olivehill/agesawrapper.c +++ b/src/mainboard/amd/olivehill/agesawrapper.c @@ -40,8 +40,6 @@ #include #include "hudson.h" -VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr); -VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr); #define FILECODE UNASSIGNED_FILE_FILECODE diff --git a/src/mainboard/amd/parmer/agesawrapper.c b/src/mainboard/amd/parmer/agesawrapper.c index 477ba8767a..65812155be 100644 --- a/src/mainboard/amd/parmer/agesawrapper.c +++ b/src/mainboard/amd/parmer/agesawrapper.c @@ -40,8 +40,6 @@ #include #include "hudson.h" -VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr); -VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr); #define FILECODE UNASSIGNED_FILE_FILECODE diff --git a/src/mainboard/amd/thatcher/agesawrapper.c b/src/mainboard/amd/thatcher/agesawrapper.c index b9e2d7ad1d..ba326925bc 100644 --- a/src/mainboard/amd/thatcher/agesawrapper.c +++ b/src/mainboard/amd/thatcher/agesawrapper.c @@ -40,8 +40,6 @@ #include #include "hudson.h" -VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr); -VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr); #define FILECODE UNASSIGNED_FILE_FILECODE diff --git a/src/mainboard/asrock/imb-a180/agesawrapper.c b/src/mainboard/asrock/imb-a180/agesawrapper.c index 7c79b3ce65..5b8c97f6d6 100644 --- a/src/mainboard/asrock/imb-a180/agesawrapper.c +++ b/src/mainboard/asrock/imb-a180/agesawrapper.c @@ -45,8 +45,6 @@ #include #include "hudson.h" -VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr); -VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr); #define FILECODE UNASSIGNED_FILE_FILECODE diff --git a/src/mainboard/asus/f2a85-m/agesawrapper.c b/src/mainboard/asus/f2a85-m/agesawrapper.c index 0027a4bc6b..e02ca14e19 100644 --- a/src/mainboard/asus/f2a85-m/agesawrapper.c +++ b/src/mainboard/asus/f2a85-m/agesawrapper.c @@ -36,8 +36,6 @@ #include #include -VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr); -VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr); #define FILECODE UNASSIGNED_FILE_FILECODE diff --git a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c index f23d52df74..4cbaeaa830 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c +++ b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c @@ -40,8 +40,6 @@ #include #include -VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr); -VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr); #define FILECODE UNASSIGNED_FILE_FILECODE diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h b/src/vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h index aeace64bd6..b3ed9175ae 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h +++ b/src/vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h @@ -115,4 +115,14 @@ extern BUILD_OPT_CFG UserOptions; +VOID +FchInitS3EarlyRestore ( + IN FCH_DATA_BLOCK *FchDataPtr + ); + +VOID +FchInitS3LateRestore ( + IN FCH_DATA_BLOCK *FchDataPtr + ); + #endif // _FCH_PLATFORM_H_ diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Interface/FchInitS3.c b/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Interface/FchInitS3.c index 75fdf8a412..5c9341a06f 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Interface/FchInitS3.c +++ b/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Interface/FchInitS3.c @@ -47,15 +47,6 @@ extern FCH_TASK_ENTRY *FchInitS3EarlyTaskTable[]; extern FCH_TASK_ENTRY *FchInitS3LateTaskTable[]; -VOID -FchInitS3EarlyRestore ( - IN FCH_DATA_BLOCK *FchDataPtr - ); - -VOID -FchInitS3LateRestore ( - IN FCH_DATA_BLOCK *FchDataPtr - ); /*----------------------------------------------------------------------------------------*/ /** * FchInitS3EarlyRestore - Config Fch before ACPI S3 resume PCI config device restore diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/Fch/FchPlatform.h b/src/vendorcode/amd/agesa/f16kb/Proc/Fch/FchPlatform.h index ebf7599425..52e24d6b6d 100644 --- a/src/vendorcode/amd/agesa/f16kb/Proc/Fch/FchPlatform.h +++ b/src/vendorcode/amd/agesa/f16kb/Proc/Fch/FchPlatform.h @@ -114,4 +114,14 @@ extern BUILD_OPT_CFG UserOptions; +VOID +FchInitS3EarlyRestore ( + IN FCH_DATA_BLOCK *FchDataPtr + ); + +VOID +FchInitS3LateRestore ( + IN FCH_DATA_BLOCK *FchDataPtr + ); + #endif // _FCH_PLATFORM_H_ diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/Fch/Interface/FchInitS3.c b/src/vendorcode/amd/agesa/f16kb/Proc/Fch/Interface/FchInitS3.c index e47611d79c..a44fa0cc93 100644 --- a/src/vendorcode/amd/agesa/f16kb/Proc/Fch/Interface/FchInitS3.c +++ b/src/vendorcode/amd/agesa/f16kb/Proc/Fch/Interface/FchInitS3.c @@ -47,15 +47,6 @@ extern FCH_TASK_ENTRY *FchInitS3EarlyTaskTable[]; extern FCH_TASK_ENTRY *FchInitS3LateTaskTable[]; -VOID -FchInitS3EarlyRestore ( - IN FCH_DATA_BLOCK *FchDataPtr - ); - -VOID -FchInitS3LateRestore ( - IN FCH_DATA_BLOCK *FchDataPtr - ); /*----------------------------------------------------------------------------------------*/ /** * FchInitS3EarlyRestore - Config Fch before ACPI S3 resume PCI config device restore