summaryrefslogtreecommitdiff
path: root/src/arch/x86
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/arch/x86
parent608fbf81109902cfd1775e61b18a2c37e2084d9d (diff)
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/arch/x86')
-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
5 files changed, 0 insertions, 5 deletions
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>