From 2c9e3706469e65629d6e74b5a43df9277f176933 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 21 May 2014 06:51:15 +1000 Subject: [PATCH] mainboard/ibase/mb899: Sanitize headers These are not local headers. Change-Id: Ie0b0a682565a08dbfa089986dc7860fdb0846949 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5796 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering --- src/mainboard/ibase/mb899/irq_tables.c | 1 - src/mainboard/ibase/mb899/mainboard.c | 1 - src/mainboard/ibase/mb899/romstage.c | 6 +++--- src/mainboard/ibase/mb899/smihandler.c | 4 +--- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/mainboard/ibase/mb899/irq_tables.c b/src/mainboard/ibase/mb899/irq_tables.c index c206bf1d5c..9c275d52fe 100644 --- a/src/mainboard/ibase/mb899/irq_tables.c +++ b/src/mainboard/ibase/mb899/irq_tables.c @@ -58,4 +58,3 @@ unsigned long write_pirq_routing_table(unsigned long addr) { return copy_pirq_routing_table(addr, &intel_irq_routing_table); } - diff --git a/src/mainboard/ibase/mb899/mainboard.c b/src/mainboard/ibase/mb899/mainboard.c index f6d2456b9a..c7b846fc69 100644 --- a/src/mainboard/ibase/mb899/mainboard.c +++ b/src/mainboard/ibase/mb899/mainboard.c @@ -225,4 +225,3 @@ static void mainboard_enable(device_t dev) struct chip_operations mainboard_ops = { .enable_dev = mainboard_enable, }; - diff --git a/src/mainboard/ibase/mb899/romstage.c b/src/mainboard/ibase/mb899/romstage.c index 067d25b233..09577959a9 100644 --- a/src/mainboard/ibase/mb899/romstage.c +++ b/src/mainboard/ibase/mb899/romstage.c @@ -32,9 +32,9 @@ #include #include #include -#include "northbridge/intel/i945/i945.h" -#include "northbridge/intel/i945/raminit.h" -#include "southbridge/intel/i82801gx/i82801gx.h" +#include +#include +#include #define SERIAL_DEV PNP_DEV(0x4e, W83627EHG_SP1) #define DUMMY_DEV PNP_DEV(0x4e, 0) diff --git a/src/mainboard/ibase/mb899/smihandler.c b/src/mainboard/ibase/mb899/smihandler.c index 064109b2ef..d1f4f7b84b 100644 --- a/src/mainboard/ibase/mb899/smihandler.c +++ b/src/mainboard/ibase/mb899/smihandler.c @@ -20,7 +20,7 @@ #include #include #include -#include "southbridge/intel/i82801gx/nvs.h" +#include /* The southbridge SMI handler checks whether gnvs has a * valid pointer before calling the trap handler @@ -47,5 +47,3 @@ int mainboard_io_trap_handler(int smif) //gnvs->smif = 0; return 1; } - -