summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-04-10 10:42:30 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-04-11 19:24:44 +0000
commitfd9f697e518150f85e3a17f58deffe8a9a8dcbad (patch)
treeea023fdff64752da0a34bb251f8222c06f218753 /src/soc/intel
parent31402178c56108e752b95c34562b6e3554a2c1d8 (diff)
tree: Drop unused <stdlib.h>
Change-Id: Ie7e36cfa5a09d94bb58f12f9bd262255a630424c Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81819 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/xeon_sp/chip_common.c1
-rw-r--r--src/soc/intel/xeon_sp/chip_gen1.c1
-rw-r--r--src/soc/intel/xeon_sp/iio_ioapic.c1
-rw-r--r--src/soc/intel/xeon_sp/spr/soc_util.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/xeon_sp/chip_common.c b/src/soc/intel/xeon_sp/chip_common.c
index aabc54d681..a2de2d4711 100644
--- a/src/soc/intel/xeon_sp/chip_common.c
+++ b/src/soc/intel/xeon_sp/chip_common.c
@@ -9,7 +9,6 @@
#include <soc/chip_common.h>
#include <soc/soc_util.h>
#include <soc/util.h>
-#include <stdlib.h>
/**
* Find all device of a given vendor and type for the specified socket.
diff --git a/src/soc/intel/xeon_sp/chip_gen1.c b/src/soc/intel/xeon_sp/chip_gen1.c
index 7e831ab102..143cc89095 100644
--- a/src/soc/intel/xeon_sp/chip_gen1.c
+++ b/src/soc/intel/xeon_sp/chip_gen1.c
@@ -12,7 +12,6 @@
#include <soc/chip_common.h>
#include <soc/soc_util.h>
#include <soc/util.h>
-#include <stdlib.h>
static const STACK_RES *domain_to_stack_res(const struct device *dev)
{
diff --git a/src/soc/intel/xeon_sp/iio_ioapic.c b/src/soc/intel/xeon_sp/iio_ioapic.c
index 3a99477a7f..66b827f532 100644
--- a/src/soc/intel/xeon_sp/iio_ioapic.c
+++ b/src/soc/intel/xeon_sp/iio_ioapic.c
@@ -5,7 +5,6 @@
#include <soc/chip_common.h>
#include <soc/util.h>
#include <stdint.h>
-#include <stdlib.h>
static uintptr_t xeonsp_ioapic_bases[CONFIG_MAX_SOCKET * MAX_IIO_STACK + 1];
diff --git a/src/soc/intel/xeon_sp/spr/soc_util.c b/src/soc/intel/xeon_sp/spr/soc_util.c
index 83418dcf29..9ad09f4c4b 100644
--- a/src/soc/intel/xeon_sp/spr/soc_util.c
+++ b/src/soc/intel/xeon_sp/spr/soc_util.c
@@ -10,7 +10,6 @@
#include <soc/pci_devs.h>
#include <soc/soc_util.h>
#include <soc/util.h>
-#include <stdlib.h>
#include <pc80/mc146818rtc.h>
const EWL_PRIVATE_DATA *get_ewl_hob(void)