From 69743962617b9de1a0263dc372bd9116671b5025 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 19 Apr 2013 10:05:57 +0200 Subject: AMD SB800 based boards: Use `#include ` instead of `"sb_cimx.h"` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Due to $ more src/southbridge/amd/cimx/sb800/Makefile.inc […] romstage-y += cfg.c romstage-y += early.c romstage-y += smbus.c ramstage-y += cfg.c ramstage-y += late.c […] `src/southbridge/amd/cimx/sb800/` is passed with the switch `-I` to the compiler, where it is also going to find the header file `sb_cimx.h`. Therefore use `#include ` everywhere, which is what some AMD SB800 based boards already do. The only effect is, that the compiler will not needlessly look into directories which do not contain the header file [1]. The following command was used for the replacement. $ git grep -l sb_cimx.h src/mainboard/ | xargs sed -i 's/#include "sb_cimx.h"/#include /' [1] http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html Change-Id: I96ab34bac1524e6c38c85dfe9d99cb6ef55e6d7c Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/3118 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/lippert/frontrunner-af/romstage.c | 2 +- src/mainboard/lippert/toucan-af/romstage.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/lippert') diff --git a/src/mainboard/lippert/frontrunner-af/romstage.c b/src/mainboard/lippert/frontrunner-af/romstage.c index 0e1b1340fb..b04b0ea9de 100644 --- a/src/mainboard/lippert/frontrunner-af/romstage.c +++ b/src/mainboard/lippert/frontrunner-af/romstage.c @@ -35,7 +35,7 @@ #include "drivers/pc80/i8254.c" #include "drivers/pc80/i8259.c" #include -#include "sb_cimx.h" +#include #include "SBPLATFORM.h" #include "cbmem.h" #include "cpu/amd/mtrr.h" diff --git a/src/mainboard/lippert/toucan-af/romstage.c b/src/mainboard/lippert/toucan-af/romstage.c index 043af85353..b5ff31fc17 100644 --- a/src/mainboard/lippert/toucan-af/romstage.c +++ b/src/mainboard/lippert/toucan-af/romstage.c @@ -35,7 +35,7 @@ #include "drivers/pc80/i8254.c" #include "drivers/pc80/i8259.c" #include -#include "sb_cimx.h" +#include #include "SBPLATFORM.h" #include "cbmem.h" #include "cpu/amd/mtrr.h" -- cgit v1.2.3