From 20a5a8964f073783383f9f3b848a8caef521c736 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 20 Jul 2017 20:54:36 -0600 Subject: amd/pi/hudson: Fix FCH EC Move the fchec.h files, which do not seem mainboard specific, out of the mainboard directories into the southbridge/soc directories. Change-Id: Idd271c6ab618aa4badf81c702212e7de35317021 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20677 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/mainboard/amd/bettong/fchec.h | 27 --------------------------- src/mainboard/amd/gardenia/fchec.h | 27 --------------------------- src/soc/amd/stoneyridge/include/fchec.h | 27 +++++++++++++++++++++++++++ src/southbridge/amd/pi/hudson/fchec.h | 27 +++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 src/mainboard/amd/bettong/fchec.h delete mode 100644 src/mainboard/amd/gardenia/fchec.h create mode 100644 src/soc/amd/stoneyridge/include/fchec.h create mode 100644 src/southbridge/amd/pi/hudson/fchec.h (limited to 'src') diff --git a/src/mainboard/amd/bettong/fchec.h b/src/mainboard/amd/bettong/fchec.h deleted file mode 100644 index 092dc5bde2..0000000000 --- a/src/mainboard/amd/bettong/fchec.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2012 Advanced Micro Devices, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef AMD_BETTONG_FCHEC -#define AMD_BETTONG_FCHEC - -#include "imc.h" -#include "Porting.h" -#include "AGESA.h" -#include "FchCommonCfg.h" - -extern VOID FchECfancontrolservice (IN VOID *FchDataPtr); -void agesawrapper_fchecfancontrolservice(void); - -#endif diff --git a/src/mainboard/amd/gardenia/fchec.h b/src/mainboard/amd/gardenia/fchec.h deleted file mode 100644 index 9fb41b38c3..0000000000 --- a/src/mainboard/amd/gardenia/fchec.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2012 Advanced Micro Devices, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef AMD_GARDENIA_FCHEC -#define AMD_GARDENIA_FCHEC - -#include -#include "Porting.h" -#include "AGESA.h" -#include "FchCommonCfg.h" - -extern VOID FchECfancontrolservice (IN VOID *FchDataPtr); -void agesawrapper_fchecfancontrolservice(void); - -#endif diff --git a/src/soc/amd/stoneyridge/include/fchec.h b/src/soc/amd/stoneyridge/include/fchec.h new file mode 100644 index 0000000000..acbc1386a9 --- /dev/null +++ b/src/soc/amd/stoneyridge/include/fchec.h @@ -0,0 +1,27 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2012 Advanced Micro Devices, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __AMD_STONEY_FCHEC__ +#define __AMD_STONEY_FCHEC__ + +#include +#include "Porting.h" +#include "AGESA.h" +#include "FchCommonCfg.h" + +extern VOID FchECfancontrolservice (IN VOID *FchDataPtr); +void agesawrapper_fchecfancontrolservice(void); + +#endif diff --git a/src/southbridge/amd/pi/hudson/fchec.h b/src/southbridge/amd/pi/hudson/fchec.h new file mode 100644 index 0000000000..5062777e14 --- /dev/null +++ b/src/southbridge/amd/pi/hudson/fchec.h @@ -0,0 +1,27 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2012 Advanced Micro Devices, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __AMD_HUDSON_FCHEC__ +#define __AMD_HUDSON_FCHEC__ + +#include "imc.h" +#include "Porting.h" +#include "AGESA.h" +#include "FchCommonCfg.h" + +extern VOID FchECfancontrolservice (IN VOID *FchDataPtr); +void agesawrapper_fchecfancontrolservice(void); + +#endif -- cgit v1.2.3