summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-31 18:43:17 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-10 23:30:56 +0000
commitffc4002863b4436457bef4ee90da2ea4aa4f9542 (patch)
tree70fc4ba48ae5f0f2be2221ebd1689cd767e44512 /src/soc/amd
parenta6608bc99085290e38365b0a03c591b566427589 (diff)
src/soc: Remove unused <stdlib.h>
Found using: diff <(git grep -l '#include <stdlib.h>' -- src/) <(git grep -l 'memalign(\|malloc(\|calloc(\|free(' -- src/) Change-Id: I08e1a680de9bfcc7d74e88a15abe9eef327b4961 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60617 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/acpi/ivrs.c1
-rw-r--r--src/soc/amd/picasso/agesa_acpi.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/acpi/ivrs.c b/src/soc/amd/common/block/acpi/ivrs.c
index 7b2db3a338..c5218ea6ad 100644
--- a/src/soc/amd/common/block/acpi/ivrs.c
+++ b/src/soc/amd/common/block/acpi/ivrs.c
@@ -15,7 +15,6 @@
#include <soc/acpi.h>
#include <soc/data_fabric.h>
#include <soc/pci_devs.h>
-#include <stdlib.h>
#define MAX_DEV_ID 0xFFFF
diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c
index f9614a2705..db95b92f5a 100644
--- a/src/soc/amd/picasso/agesa_acpi.c
+++ b/src/soc/amd/picasso/agesa_acpi.c
@@ -18,7 +18,6 @@
#include <amdblocks/ioapic.h>
#include <soc/data_fabric.h>
#include <soc/pci_devs.h>
-#include <stdlib.h>
#include <arch/mmio.h>
static unsigned long gen_crat_hsa_entry(struct acpi_crat_header *crat, unsigned long current)