HAOUAS Elyes has uploaded this change for review.

View Change

src: Include <smbios.h> when appropriate

Change-Id: I12345a5b6c9ce94ca9f8b555154b2278a8ff97bf
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/include/device/device.h
M src/soc/intel/braswell/chip.h
M src/soc/intel/cannonlake/chip.h
M src/soc/intel/skylake/chip.h
4 files changed, 1 insertion(+), 4 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/39816/1
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 333ac5d..bbe861e 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -5,6 +5,7 @@
#include <device/resource.h>
#include <device/path.h>
#include <device/pci_type.h>
+#include <smbios.h>
#include <types.h>

struct device;
@@ -29,7 +30,6 @@

struct bus;

-struct smbios_type11;
struct acpi_rsdp;

struct device_operations {
diff --git a/src/soc/intel/braswell/chip.h b/src/soc/intel/braswell/chip.h
index 026e491..767ecde 100644
--- a/src/soc/intel/braswell/chip.h
+++ b/src/soc/intel/braswell/chip.h
@@ -24,7 +24,6 @@
#include <fsp/util.h>
#include <intelblocks/lpc_lib.h>
#include <soc/pci_devs.h>
-#include <smbios.h>

#define SVID_CONFIG1 1
#define SVID_CONFIG3 3
diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h
index 7794fd4..5f58f08 100644
--- a/src/soc/intel/cannonlake/chip.h
+++ b/src/soc/intel/cannonlake/chip.h
@@ -20,7 +20,6 @@
#include <intelblocks/gpio.h>
#include <intelblocks/gspi.h>
#include <intelblocks/lpc_lib.h>
-#include <smbios.h>
#include <stdint.h>
#include <soc/gpio.h>
#include <soc/pch.h>
diff --git a/src/soc/intel/skylake/chip.h b/src/soc/intel/skylake/chip.h
index 178ab03..880c1d6 100644
--- a/src/soc/intel/skylake/chip.h
+++ b/src/soc/intel/skylake/chip.h
@@ -31,7 +31,6 @@
#include <soc/serialio.h>
#include <soc/usb.h>
#include <soc/vr_config.h>
-#include <smbios.h>

#define MAX_PEG_PORTS 3


To view, visit change 39816. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I12345a5b6c9ce94ca9f8b555154b2278a8ff97bf
Gerrit-Change-Number: 39816
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange