summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 19:32:33 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 05:25:56 +0000
commitb12c2761f4c5dc0f812481620b0d73faf49d0495 (patch)
treee1ddea2c13d8f7134353bd5ed6bb3f6ec4f38748 /src/drivers
parent94b503094f8a424a02b18bb7f09c639c896df85e (diff)
src/{drivers,device,ec}: Remove unused <stdlib.h>
Change-Id: I05422ee4b0aa5c02525ef0b4eccb4dc3ecf871e8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32822 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/aspeed/ast2050/ast2050.c1
-rw-r--r--src/drivers/emulation/qemu/bochs.c1
-rw-r--r--src/drivers/emulation/qemu/cirrus.c1
-rw-r--r--src/drivers/i2c/rtd2132/rtd2132.c1
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/info_header.h1
-rw-r--r--src/drivers/intel/gma/intel_ddi.c1
-rw-r--r--src/drivers/net/ne2k.c1
-rw-r--r--src/drivers/parade/ps8625/ps8625.c1
-rw-r--r--src/drivers/sil/3114/sil_sata.c1
-rw-r--r--src/drivers/smmstore/store.c1
-rw-r--r--src/drivers/uart/uart8250io.c1
-rw-r--r--src/drivers/vpd/vpd.c1
-rw-r--r--src/drivers/vpd/vpd_cbmem.c1
13 files changed, 0 insertions, 13 deletions
diff --git a/src/drivers/aspeed/ast2050/ast2050.c b/src/drivers/aspeed/ast2050/ast2050.c
index 67a1a803fe..8bc73078c7 100644
--- a/src/drivers/aspeed/ast2050/ast2050.c
+++ b/src/drivers/aspeed/ast2050/ast2050.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <arch/io.h>
#include <edid.h>
#include <console/console.h>
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index f49b72cdfa..d9e4ce1d6e 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -13,7 +13,6 @@
#include <stdint.h>
#include <edid.h>
-#include <stdlib.h>
#include <arch/io.h>
#include <console/console.h>
#include <device/device.h>
diff --git a/src/drivers/emulation/qemu/cirrus.c b/src/drivers/emulation/qemu/cirrus.c
index 43710d9ece..6b1968c31d 100644
--- a/src/drivers/emulation/qemu/cirrus.c
+++ b/src/drivers/emulation/qemu/cirrus.c
@@ -14,7 +14,6 @@
#include <stdint.h>
#include <edid.h>
-#include <stdlib.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/drivers/i2c/rtd2132/rtd2132.c b/src/drivers/i2c/rtd2132/rtd2132.c
index 168f921e67..22eeaa83be 100644
--- a/src/drivers/i2c/rtd2132/rtd2132.c
+++ b/src/drivers/i2c/rtd2132/rtd2132.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
diff --git a/src/drivers/intel/fsp2_0/include/fsp/info_header.h b/src/drivers/intel/fsp2_0/include/fsp/info_header.h
index d9ca73fd7a..fd09f41305 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/info_header.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/info_header.h
@@ -16,7 +16,6 @@
#define _FSP2_0_INFO_HEADER_H_
#include <stdint.h>
-#include <stdlib.h>
#include <types.h>
#define FSP_HDR_OFFSET 0x94
diff --git a/src/drivers/intel/gma/intel_ddi.c b/src/drivers/intel/gma/intel_ddi.c
index 563f01bee6..d52b2933c6 100644
--- a/src/drivers/intel/gma/intel_ddi.c
+++ b/src/drivers/intel/gma/intel_ddi.c
@@ -27,7 +27,6 @@
*/
#include <types.h>
-#include <stdlib.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <console/console.h>
diff --git a/src/drivers/net/ne2k.c b/src/drivers/net/ne2k.c
index 35d45ea624..b1d72de084 100644
--- a/src/drivers/net/ne2k.c
+++ b/src/drivers/net/ne2k.c
@@ -32,7 +32,6 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
-#include <stdlib.h>
#include <ip_checksum.h>
#include "ns8390.h"
diff --git a/src/drivers/parade/ps8625/ps8625.c b/src/drivers/parade/ps8625/ps8625.c
index c86c4d4100..8fd03b8b05 100644
--- a/src/drivers/parade/ps8625/ps8625.c
+++ b/src/drivers/parade/ps8625/ps8625.c
@@ -13,7 +13,6 @@
#include <device/i2c_simple.h>
#include <stdint.h>
-#include <stdlib.h>
#include "ps8625.h"
diff --git a/src/drivers/sil/3114/sil_sata.c b/src/drivers/sil/3114/sil_sata.c
index 5fc58c8a35..c38e642016 100644
--- a/src/drivers/sil/3114/sil_sata.c
+++ b/src/drivers/sil/3114/sil_sata.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/drivers/smmstore/store.c b/src/drivers/smmstore/store.c
index 23d2af015f..e0bfa10e0b 100644
--- a/src/drivers/smmstore/store.c
+++ b/src/drivers/smmstore/store.c
@@ -18,7 +18,6 @@
#include <commonlib/region.h>
#include <console/console.h>
#include <smmstore.h>
-#include <stdlib.h>
#include <types.h>
/*
diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c
index 58e014170a..1b9194ec2d 100644
--- a/src/drivers/uart/uart8250io.c
+++ b/src/drivers/uart/uart8250io.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <arch/io.h>
#include <boot/coreboot_tables.h>
#include <console/uart.h>
diff --git a/src/drivers/vpd/vpd.c b/src/drivers/vpd/vpd.c
index ab77a01bff..7ed1255357 100644
--- a/src/drivers/vpd/vpd.c
+++ b/src/drivers/vpd/vpd.c
@@ -8,7 +8,6 @@
#include <console/console.h>
#include <cbmem.h>
#include <fmap.h>
-#include <stdlib.h>
#include <string.h>
#include <timestamp.h>
diff --git a/src/drivers/vpd/vpd_cbmem.c b/src/drivers/vpd/vpd_cbmem.c
index 5b685069aa..a0bb161287 100644
--- a/src/drivers/vpd/vpd_cbmem.c
+++ b/src/drivers/vpd/vpd_cbmem.c
@@ -7,7 +7,6 @@
#include <console/console.h>
#include <cbmem.h>
#include <fmap.h>
-#include <stdlib.h>
#include <string.h>
#include <timestamp.h>