aboutsummaryrefslogtreecommitdiff
path: root/src/soc
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
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')
-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
-rw-r--r--src/soc/mediatek/common/early_init.c1
-rw-r--r--src/soc/mediatek/mt8195/pcie.c1
-rw-r--r--src/soc/qualcomm/sc7280/display/edp_ctrl.c1
7 files changed, 0 insertions, 7 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)
diff --git a/src/soc/mediatek/common/early_init.c b/src/soc/mediatek/common/early_init.c
index 55ba447ce0..0587802681 100644
--- a/src/soc/mediatek/common/early_init.c
+++ b/src/soc/mediatek/common/early_init.c
@@ -2,7 +2,6 @@
#include <assert.h>
#include <soc/early_init.h>
-#include <stdlib.h>
#include <string.h>
static struct early_init_data *find_early_init(void)
diff --git a/src/soc/mediatek/mt8195/pcie.c b/src/soc/mediatek/mt8195/pcie.c
index 960d0bb480..eb7ad8725e 100644
--- a/src/soc/mediatek/mt8195/pcie.c
+++ b/src/soc/mediatek/mt8195/pcie.c
@@ -7,7 +7,6 @@
#include <soc/early_init.h>
#include <soc/pcie.h>
#include <soc/pcie_common.h>
-#include <stdlib.h>
#define PCIE_REG_BASE_PORT0 0x112f0000
#define PCIE_RST_CTRL_REG (PCIE_REG_BASE_PORT0 + 0x148)
diff --git a/src/soc/qualcomm/sc7280/display/edp_ctrl.c b/src/soc/qualcomm/sc7280/display/edp_ctrl.c
index 2bf7958293..48a832a9d9 100644
--- a/src/soc/qualcomm/sc7280/display/edp_ctrl.c
+++ b/src/soc/qualcomm/sc7280/display/edp_ctrl.c
@@ -7,7 +7,6 @@
#include <delay.h>
#include <types.h>
#include <string.h>
-#include <stdlib.h>
#include <soc/clock.h>
#include <gpio.h>
#include <soc/display/edp_reg.h>