summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-16 08:40:06 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-16 11:46:58 +0000
commit74aa99a5435ce3a1b984a3e0e5a0b696d6f6165d (patch)
treef4b9a4812620dedae0d786340bbf18ab247cc395 /src/southbridge/intel
parent4b7202e250b322e6347de5483abb61bbf92de18c (diff)
src: Drop unused '#include <halt.h>'
Change-Id: Ie7afe77053a21bcf6a1bf314570f897d1791a620 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31921 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/bd82x6x/smihandler.c8
-rw-r--r--src/southbridge/intel/i82801gx/smihandler.c1
2 files changed, 3 insertions, 6 deletions
diff --git a/src/southbridge/intel/bd82x6x/smihandler.c b/src/southbridge/intel/bd82x6x/smihandler.c
index c7f668b178..374a9d933e 100644
--- a/src/southbridge/intel/bd82x6x/smihandler.c
+++ b/src/southbridge/intel/bd82x6x/smihandler.c
@@ -22,11 +22,6 @@
#include <device/pci_def.h>
#include <cpu/x86/smm.h>
#include <elog.h>
-#include <halt.h>
-#include "pch.h"
-
-#include "nvs.h"
-
#include <northbridge/intel/sandybridge/sandybridge.h>
#include <southbridge/intel/bd82x6x/me.h>
#include <southbridge/intel/common/gpio.h>
@@ -34,6 +29,9 @@
#include <southbridge/intel/common/pmutil.h>
#include <southbridge/intel/common/finalize.h>
+#include "pch.h"
+#include "nvs.h"
+
static global_nvs_t *gnvs;
global_nvs_t *smm_get_gnvs(void)
{
diff --git a/src/southbridge/intel/i82801gx/smihandler.c b/src/southbridge/intel/i82801gx/smihandler.c
index cf7f277660..31306fbe31 100644
--- a/src/southbridge/intel/i82801gx/smihandler.c
+++ b/src/southbridge/intel/i82801gx/smihandler.c
@@ -19,7 +19,6 @@
#include <cpu/x86/cache.h>
#include <cpu/x86/smm.h>
#include <device/pci_def.h>
-#include <halt.h>
#include <pc80/mc146818rtc.h>
#include <southbridge/intel/common/pmutil.h>
#include "i82801gx.h"