summaryrefslogtreecommitdiffstats
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
parent608fbf81109902cfd1775e61b18a2c37e2084d9d (diff)
downloadcoreboot-0420e50b6b0ee25ba7802493caf33b2b6e320da2.tar.gz
coreboot-0420e50b6b0ee25ba7802493caf33b2b6e320da2.tar.bz2
coreboot-0420e50b6b0ee25ba7802493caf33b2b6e320da2.zip
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>
-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 e9d10e2a3d2f..77b9b4b4354f 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 87fc6b17cc7d..1e0e0fd60b3b 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 67dca48dbc12..bdec55c8c2ae 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 4ade1c719de6..002df44fcc26 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 78e95fdd83b4..89263d3fad74 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 64cdd7228e7c..294c6c346bd6 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 fc85bc617f88..b20eb67b9b76 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 8b8c873fb528..11fe2322727d 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 762193090b53..74764fc4bfa6 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 a599addb6199..8cd4518d13f7 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>