summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 19:38:23 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 05:41:08 +0000
commit608fbf81109902cfd1775e61b18a2c37e2084d9d (patch)
tree5357fe9849863a0a3ec5f94387e61e25b3f7a185 /src/soc/intel/common
parentd51ee90f122de103756a26842f17ded2465db1a3 (diff)
src/soc/intel: Remove unused <stdlib.h>
Change-Id: I71a5a6c3748d5a3910970bfb1ec3d7ecd3184cfd Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33686 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/acpi_wake_source.c1
-rw-r--r--src/soc/intel/common/block/fast_spi/fast_spi.c1
-rw-r--r--src/soc/intel/common/block/smm/smihandler.c1
-rw-r--r--src/soc/intel/common/block/systemagent/memmap.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/common/acpi_wake_source.c b/src/soc/intel/common/acpi_wake_source.c
index f66706c4cd..389807e48c 100644
--- a/src/soc/intel/common/acpi_wake_source.c
+++ b/src/soc/intel/common/acpi_wake_source.c
@@ -19,7 +19,6 @@
#include <console/console.h>
#include <soc/nvs.h>
#include <stdint.h>
-#include <stdlib.h>
#include "acpi.h"
__weak int soc_fill_acpi_wake(uint32_t *pm1, uint32_t **gpe0)
diff --git a/src/soc/intel/common/block/fast_spi/fast_spi.c b/src/soc/intel/common/block/fast_spi/fast_spi.c
index 5c29addcc9..019976ad8c 100644
--- a/src/soc/intel/common/block/fast_spi/fast_spi.c
+++ b/src/soc/intel/common/block/fast_spi/fast_spi.c
@@ -25,7 +25,6 @@
#include <soc/pci_devs.h>
#include <spi_flash.h>
#include <spi-generic.h>
-#include <stdlib.h>
/*
* Get the FAST_SPIBAR.
diff --git a/src/soc/intel/common/block/smm/smihandler.c b/src/soc/intel/common/block/smm/smihandler.c
index 0581d23021..4677d27943 100644
--- a/src/soc/intel/common/block/smm/smihandler.c
+++ b/src/soc/intel/common/block/smm/smihandler.c
@@ -38,7 +38,6 @@
#include <soc/smbus.h>
#include <spi-generic.h>
#include <stdint.h>
-#include <stdlib.h>
/* GNVS needs to be set by coreboot initiating a software SMI. */
static struct global_nvs_t *gnvs;
diff --git a/src/soc/intel/common/block/systemagent/memmap.c b/src/soc/intel/common/block/systemagent/memmap.c
index 2b0fdc4e14..487c1d885d 100644
--- a/src/soc/intel/common/block/systemagent/memmap.c
+++ b/src/soc/intel/common/block/systemagent/memmap.c
@@ -20,7 +20,6 @@
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <intelblocks/systemagent.h>
-#include <stdlib.h>
/*
* Expected Host Memory Map (we don't know 100% and not all regions are present on all SoCs):