summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-02 21:21:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-06 10:30:05 +0000
commit32f48a2d56af951186538b6f6bcb136736f11254 (patch)
tree6bd3b7d62f8b655fccac30ff080b2f32e2900fa5
parentfb0fa7643eab9d81626c375a1b3b8d11138dd979 (diff)
downloadcoreboot-32f48a2d56af951186538b6f6bcb136736f11254.tar.xz
mb/google: Remove unused 'include <smbios.h>'
Change-Id: Ib96c317391745fa5afea785e3c7441124b3fc252 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32547 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
-rw-r--r--src/mainboard/google/beltino/mainboard.c3
-rw-r--r--src/mainboard/google/link/i915.c7
-rw-r--r--src/mainboard/google/stout/mainboard.c6
3 files changed, 7 insertions, 9 deletions
diff --git a/src/mainboard/google/beltino/mainboard.c b/src/mainboard/google/beltino/mainboard.c
index e0fd105eb1..7bda2f6694 100644
--- a/src/mainboard/google/beltino/mainboard.c
+++ b/src/mainboard/google/beltino/mainboard.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <smbios.h>
#include <types.h>
#include <arch/acpi.h>
#include <arch/io.h>
@@ -25,8 +24,8 @@
#include <device/pci_ops.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <vendorcode/google/chromeos/chromeos.h>
-#include "onboard.h"
+#include "onboard.h"
void mainboard_suspend_resume(void)
{
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index e09785d825..12d424cde0 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -25,19 +25,18 @@
#include <arch/io.h>
#include <arch/interrupt.h>
#include <boot/coreboot_tables.h>
-#include "onboard.h"
-#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
#include <northbridge/intel/sandybridge/gma.h>
-#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
-
#include <cpu/x86/tsc.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/msr.h>
#include <edid.h>
+
+#include "ec.h"
+#include "onboard.h"
#include "i915io.h"
enum {
diff --git a/src/mainboard/google/stout/mainboard.c b/src/mainboard/google/stout/mainboard.c
index 5f51a6b8bc..05de8cb63d 100644
--- a/src/mainboard/google/stout/mainboard.c
+++ b/src/mainboard/google/stout/mainboard.c
@@ -22,14 +22,14 @@
#include <arch/acpi.h>
#include <arch/interrupt.h>
#include <boot/coreboot_tables.h>
-#include "onboard.h"
-#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
-#include <smbios.h>
#include <device/pci.h>
#include <ec/quanta/it8518/ec.h>
#include <vendorcode/google/chromeos/chromeos.h>
+#include "ec.h"
+#include "onboard.h"
+
void mainboard_suspend_resume(void)
{
/* Stout EC needs to be put back in ACPI mode */