summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-27 12:43:10 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-05-29 02:51:20 +0000
commit877fafab57affc34d7e4636938b180fcc5c30e9c (patch)
tree066061317e943f998776bf9325c446765ba45973 /src
parent5d1494adda44dfaa0167aaa2f024c4ab351a82ad (diff)
tree: Remove unused <stddef.h>
Change-Id: I7d7ad562eeff7247b7377b6570d489faee0aeda0 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82669 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/uart/oxpcie_early.c1
-rw-r--r--src/ec/google/chromeec/ec_skuid.c1
-rw-r--r--src/ec/google/chromeec/ec_smbios.c1
-rw-r--r--src/ec/purism/librem-ec/librem_ec.c2
-rw-r--r--src/mainboard/intel/glkrvp/boardid.c1
-rw-r--r--src/mainboard/intel/kblrvp/board_id.c1
-rw-r--r--src/soc/amd/cezanne/psp_verstage/svc.c1
-rw-r--r--src/soc/amd/glinda/psp_verstage/svc.c1
-rw-r--r--src/soc/amd/mendocino/psp_verstage/svc.c1
-rw-r--r--src/soc/amd/phoenix/psp_verstage/svc.c1
-rw-r--r--src/soc/amd/picasso/psp_verstage/svc.c1
-rw-r--r--src/soc/mediatek/mt8186/pll.c1
-rw-r--r--src/soc/mediatek/mt8188/pll.c1
-rw-r--r--src/soc/mediatek/mt8195/pll.c1
14 files changed, 1 insertions, 14 deletions
diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c
index 206f54d1a5..7cc908cc37 100644
--- a/src/drivers/uart/oxpcie_early.c
+++ b/src/drivers/uart/oxpcie_early.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
-#include <stddef.h>
#include <device/pci_ops.h>
#include <console/uart.h>
#include <device/pci.h>
diff --git a/src/ec/google/chromeec/ec_skuid.c b/src/ec/google/chromeec/ec_skuid.c
index 259ce44f2a..c0e079c5f0 100644
--- a/src/ec/google/chromeec/ec_skuid.c
+++ b/src/ec/google/chromeec/ec_skuid.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <stddef.h>
#include <ec/google/chromeec/ec.h>
uint32_t google_chromeec_get_board_sku(void)
diff --git a/src/ec/google/chromeec/ec_smbios.c b/src/ec/google/chromeec/ec_smbios.c
index d804f6431c..cd7ac2e8ba 100644
--- a/src/ec/google/chromeec/ec_smbios.c
+++ b/src/ec/google/chromeec/ec_smbios.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <stddef.h>
#include <ec/google/chromeec/ec.h>
#include <console/console.h>
#include <string.h>
diff --git a/src/ec/purism/librem-ec/librem_ec.c b/src/ec/purism/librem-ec/librem_ec.c
index 8298b73644..8cc7382335 100644
--- a/src/ec/purism/librem-ec/librem_ec.c
+++ b/src/ec/purism/librem-ec/librem_ec.c
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include "librem_ec.h"
#include "../../system76/ec/system76_ec.h"
-#include <stddef.h>
#define CMD_PROBE 1
diff --git a/src/mainboard/intel/glkrvp/boardid.c b/src/mainboard/intel/glkrvp/boardid.c
index 35dcc4b29d..ba2f879047 100644
--- a/src/mainboard/intel/glkrvp/boardid.c
+++ b/src/mainboard/intel/glkrvp/boardid.c
@@ -2,7 +2,6 @@
#include <baseboard/variants.h>
#include <boardid.h>
-#include <stddef.h>
#include <ec/acpi/ec.h>
#define BOARD_ID_GLK_RVP1_DDR4 0x5 /* RVP1 - DDR4 */
diff --git a/src/mainboard/intel/kblrvp/board_id.c b/src/mainboard/intel/kblrvp/board_id.c
index 4305295d9b..23c93350c6 100644
--- a/src/mainboard/intel/kblrvp/board_id.c
+++ b/src/mainboard/intel/kblrvp/board_id.c
@@ -2,7 +2,6 @@
#include "board_id.h"
#include <ec/acpi/ec.h>
#include <stdint.h>
-#include <stddef.h>
/*
* Get Board info via EC I/O port write/read
diff --git a/src/soc/amd/cezanne/psp_verstage/svc.c b/src/soc/amd/cezanne/psp_verstage/svc.c
index 17f9d5135a..b59b86f95c 100644
--- a/src/soc/amd/cezanne/psp_verstage/svc.c
+++ b/src/soc/amd/cezanne/psp_verstage/svc.c
@@ -3,7 +3,6 @@
#include <assert.h>
#include <bl_uapp/bl_syscall_public.h>
#include <psp_verstage.h>
-#include <stddef.h>
#include <svc_call.h>
void svc_exit(uint32_t status)
diff --git a/src/soc/amd/glinda/psp_verstage/svc.c b/src/soc/amd/glinda/psp_verstage/svc.c
index d533d8f664..531e3d5f67 100644
--- a/src/soc/amd/glinda/psp_verstage/svc.c
+++ b/src/soc/amd/glinda/psp_verstage/svc.c
@@ -7,7 +7,6 @@
#include <assert.h>
#include <bl_uapp/bl_syscall_public.h>
#include <psp_verstage.h>
-#include <stddef.h>
#include <string.h>
#include <svc_call.h>
diff --git a/src/soc/amd/mendocino/psp_verstage/svc.c b/src/soc/amd/mendocino/psp_verstage/svc.c
index 0c6fb5e100..ba35fa7e9c 100644
--- a/src/soc/amd/mendocino/psp_verstage/svc.c
+++ b/src/soc/amd/mendocino/psp_verstage/svc.c
@@ -5,7 +5,6 @@
#include <assert.h>
#include <bl_uapp/bl_syscall_public.h>
#include <psp_verstage.h>
-#include <stddef.h>
#include <string.h>
#include <svc_call.h>
diff --git a/src/soc/amd/phoenix/psp_verstage/svc.c b/src/soc/amd/phoenix/psp_verstage/svc.c
index 6f086780b8..1bea8fc4d4 100644
--- a/src/soc/amd/phoenix/psp_verstage/svc.c
+++ b/src/soc/amd/phoenix/psp_verstage/svc.c
@@ -5,7 +5,6 @@
#include <assert.h>
#include <bl_uapp/bl_syscall_public.h>
#include <psp_verstage.h>
-#include <stddef.h>
#include <string.h>
#include <svc_call.h>
diff --git a/src/soc/amd/picasso/psp_verstage/svc.c b/src/soc/amd/picasso/psp_verstage/svc.c
index c1af525d84..d23ea3b849 100644
--- a/src/soc/amd/picasso/psp_verstage/svc.c
+++ b/src/soc/amd/picasso/psp_verstage/svc.c
@@ -3,7 +3,6 @@
#include <assert.h>
#include <bl_uapp/bl_syscall_public.h>
#include <psp_verstage.h>
-#include <stddef.h>
#include <svc_call.h>
void svc_exit(uint32_t status)
diff --git a/src/soc/mediatek/mt8186/pll.c b/src/soc/mediatek/mt8186/pll.c
index a6165ef2a5..6b9eae67d8 100644
--- a/src/soc/mediatek/mt8186/pll.c
+++ b/src/soc/mediatek/mt8186/pll.c
@@ -8,7 +8,6 @@
#include <console/console.h>
#include <device/mmio.h>
#include <delay.h>
-#include <stddef.h>
#include <timer.h>
#include <soc/addressmap.h>
diff --git a/src/soc/mediatek/mt8188/pll.c b/src/soc/mediatek/mt8188/pll.c
index d892e1cf72..3dfaac97fc 100644
--- a/src/soc/mediatek/mt8188/pll.c
+++ b/src/soc/mediatek/mt8188/pll.c
@@ -3,7 +3,6 @@
#include <console/console.h>
#include <device/mmio.h>
#include <delay.h>
-#include <stddef.h>
#include <timer.h>
#include <soc/addressmap.h>
diff --git a/src/soc/mediatek/mt8195/pll.c b/src/soc/mediatek/mt8195/pll.c
index 69b9c1e055..397ff21d4e 100644
--- a/src/soc/mediatek/mt8195/pll.c
+++ b/src/soc/mediatek/mt8195/pll.c
@@ -3,7 +3,6 @@
#include <console/console.h>
#include <device/mmio.h>
#include <delay.h>
-#include <stddef.h>
#include <timer.h>
#include <soc/addressmap.h>