summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 19:29:28 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 05:57:07 +0000
commit0420e50b6b0ee25ba7802493caf33b2b6e320da2 (patch)
tree7bbe19e5057659d554ea3e8eb915d803a8a8dd69 /src
parent608fbf81109902cfd1775e61b18a2c37e2084d9d (diff)
downloadcoreboot-0420e50b6b0ee25ba7802493caf33b2b6e320da2.tar.xz
src/arch: Remove unused <stdlib.h>
Change-Id: I79f065703b5249ca9630b06de7142bc52675076e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32820 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/armv7/mmu.c1
-rw-r--r--src/arch/arm/cpu.c1
-rw-r--r--src/arch/arm64/armv8/mmu.c1
-rw-r--r--src/arch/arm64/fit_payload.c1
-rw-r--r--src/arch/riscv/fit_payload.c1
-rw-r--r--src/arch/x86/acpigen_dsm.c1
-rw-r--r--src/arch/x86/cbmem.c1
-rw-r--r--src/arch/x86/include/arch/acpigen.h1
-rw-r--r--src/arch/x86/mmap_boot.c1
-rw-r--r--src/arch/x86/smbios.c1
10 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/arm/armv7/mmu.c b/src/arch/arm/armv7/mmu.c
index e9d10e2a3d..77b9b4b435 100644
--- a/src/arch/arm/armv7/mmu.c
+++ b/src/arch/arm/armv7/mmu.c
@@ -30,7 +30,6 @@
#include <assert.h>
#include <commonlib/helpers.h>
-#include <stdlib.h>
#include <stdint.h>
#include <symbols.h>
diff --git a/src/arch/arm/cpu.c b/src/arch/arm/cpu.c
index 87fc6b17cc..1e0e0fd60b 100644
--- a/src/arch/arm/cpu.c
+++ b/src/arch/arm/cpu.c
@@ -27,7 +27,6 @@
* SUCH DAMAGE.
*
*/
-#include <stdlib.h>
#include <arch/cpu.h>
#include <commonlib/helpers.h>
diff --git a/src/arch/arm64/armv8/mmu.c b/src/arch/arm64/armv8/mmu.c
index 67dca48dbc..bdec55c8c2 100644
--- a/src/arch/arm64/armv8/mmu.c
+++ b/src/arch/arm64/armv8/mmu.c
@@ -28,7 +28,6 @@
*/
#include <assert.h>
-#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <symbols.h>
diff --git a/src/arch/arm64/fit_payload.c b/src/arch/arm64/fit_payload.c
index 4ade1c719d..002df44fcc 100644
--- a/src/arch/arm64/fit_payload.c
+++ b/src/arch/arm64/fit_payload.c
@@ -14,7 +14,6 @@
#include <console/console.h>
#include <bootmem.h>
-#include <stdlib.h>
#include <program_loading.h>
#include <string.h>
#include <commonlib/compression.h>
diff --git a/src/arch/riscv/fit_payload.c b/src/arch/riscv/fit_payload.c
index 78e95fdd83..89263d3fad 100644
--- a/src/arch/riscv/fit_payload.c
+++ b/src/arch/riscv/fit_payload.c
@@ -16,7 +16,6 @@
#include <console/console.h>
#include <bootmem.h>
-#include <stdlib.h>
#include <program_loading.h>
#include <commonlib/compression.h>
#include <commonlib/cbfs_serialized.h>
diff --git a/src/arch/x86/acpigen_dsm.c b/src/arch/x86/acpigen_dsm.c
index 64cdd7228e..294c6c346b 100644
--- a/src/arch/x86/acpigen_dsm.c
+++ b/src/arch/x86/acpigen_dsm.c
@@ -13,7 +13,6 @@
#include <arch/acpigen.h>
#include <arch/acpigen_dsm.h>
-#include <stdlib.h>
/* ------------------- I2C HID DSM ---------------------------- */
diff --git a/src/arch/x86/cbmem.c b/src/arch/x86/cbmem.c
index fc85bc617f..b20eb67b9b 100644
--- a/src/arch/x86/cbmem.c
+++ b/src/arch/x86/cbmem.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <cbmem.h>
#if CONFIG(CBMEM_TOP_BACKUP)
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h
index 8b8c873fb5..11fe232272 100644
--- a/src/arch/x86/include/arch/acpigen.h
+++ b/src/arch/x86/include/arch/acpigen.h
@@ -14,7 +14,6 @@
#ifndef LIBACPI_H
#define LIBACPI_H
-#include <stdlib.h>
#include <stdint.h>
#include <arch/acpi.h>
#include <arch/acpi_device.h>
diff --git a/src/arch/x86/mmap_boot.c b/src/arch/x86/mmap_boot.c
index 762193090b..74764fc4bf 100644
--- a/src/arch/x86/mmap_boot.c
+++ b/src/arch/x86/mmap_boot.c
@@ -13,7 +13,6 @@
#include <boot_device.h>
#include <endian.h>
-#include <stdlib.h>
/* The ROM is memory mapped just below 4GiB. Form a pointer for the base. */
#define rom_base ((void *)(uintptr_t)(0x100000000ULL-CONFIG_ROM_SIZE))
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index a599addb61..8cd4518d13 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -12,7 +12,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <string.h>
#include <smbios.h>
#include <console/console.h>