From 01e0adf267dbe741e2c50137fbc8848c40ce0db9 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Sat, 29 Mar 2014 17:07:26 -0500 Subject: southbridge/amd/agesa/hudson: Clean up AGESA #includes Just like in commit * 1d87dac hp/pavilion_m6_1035dx: Sanitize #includes Include AGESA headers specifying the path relative to AGESA_ROOT. The path is specified relative to AGESA_ROOT as opposed to src/ since this code may include headers from different AGESA families, depending on the board. Change-Id: Ide38cc34e207a8b617d1d319fd9c17a785f55833 Signed-off-by: Alexandru Gagniuc Reviewed-on: http://review.coreboot.org/5423 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Idwer Vollering --- src/southbridge/amd/agesa/hudson/imc.c | 8 ++++---- src/southbridge/amd/agesa/hudson/resume.c | 4 ++-- src/southbridge/amd/agesa/hudson/spi.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/southbridge/amd/agesa/hudson/imc.c b/src/southbridge/amd/agesa/hudson/imc.c index af9e865b90..d706292ab7 100644 --- a/src/southbridge/amd/agesa/hudson/imc.c +++ b/src/southbridge/amd/agesa/hudson/imc.c @@ -22,10 +22,10 @@ #include #include "Porting.h" #include "AGESA.h" -#include "amdlib.h" -#include "Fch.h" -#include "FchCommonCfg.h" -#include "FchPlatform.h" +#include +#include +#include +#include void imc_reg_init(void) { diff --git a/src/southbridge/amd/agesa/hudson/resume.c b/src/southbridge/amd/agesa/hudson/resume.c index 0d40d6c8cc..ecf06a0e3c 100644 --- a/src/southbridge/amd/agesa/hudson/resume.c +++ b/src/southbridge/amd/agesa/hudson/resume.c @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "FchPlatform.h" -#include "Fch.h" +#include +#include #include #include #include "hudson.h" diff --git a/src/southbridge/amd/agesa/hudson/spi.c b/src/southbridge/amd/agesa/hudson/spi.c index b89ea5d66e..a46bf08be9 100644 --- a/src/southbridge/amd/agesa/hudson/spi.c +++ b/src/southbridge/amd/agesa/hudson/spi.c @@ -26,7 +26,7 @@ #include #if defined (CONFIG_HUDSON_IMC_FWM) -#include "FchPlatform.h" +#include static int bus_claimed = 0; #endif -- cgit v1.2.3