summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-31 18:44:39 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-10 17:43:32 +0000
commitb14e6ea0526b4d19a4c7010c8c45e49a7d57abaa (patch)
treea0fb345f16feacf760a5d521cc65254aeff80b85 /src
parent0a55d59f76de32dffa0c139feede80088d1305ac (diff)
src/mainboard: Remove unused <stdlib.h>
Found using: diff <(git grep -l '#include <stdlib.h>' -- src/) <(git grep -l 'memalign(\|malloc(\|calloc(\|free(' -- src/) Change-Id: Ibc594dc6904b26842cf007884ad1913f99a337f2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60618 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c1
-rw-r--r--src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c1
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c1
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
index 45b9e1d876..ffcfb2539a 100644
--- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
+++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
@@ -5,7 +5,6 @@
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/smi.h>
-#include <stdlib.h>
#include <variant/gpio.h>
static const struct soc_amd_gpio gpio_set_stage_ram[] = {
diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
index 7220c380f8..ae1252db0b 100644
--- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
+++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
@@ -7,7 +7,6 @@
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/smi.h>
-#include <stdlib.h>
#include <variant/gpio.h>
static const struct soc_amd_gpio gpio_set_stage_ram[] = {
diff --git a/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c
index 3302556113..8fa897e25e 100644
--- a/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdlib.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/acpimmio_legacy_gpio100.h>
#include <console/console.h>
diff --git a/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
index 09695d4b85..6492f56fa1 100644
--- a/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdlib.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/acpimmio_legacy_gpio100.h>
#include <console/console.h>