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>
This commit is contained in:
Elyes HAOUAS 2021-12-31 18:43:17 +01:00 committed by Felix Held
parent a6608bc990
commit ffc4002863
4 changed files with 0 additions and 4 deletions

View File

@ -15,7 +15,6 @@
#include <soc/acpi.h> #include <soc/acpi.h>
#include <soc/data_fabric.h> #include <soc/data_fabric.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <stdlib.h>
#define MAX_DEV_ID 0xFFFF #define MAX_DEV_ID 0xFFFF

View File

@ -18,7 +18,6 @@
#include <amdblocks/ioapic.h> #include <amdblocks/ioapic.h>
#include <soc/data_fabric.h> #include <soc/data_fabric.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <stdlib.h>
#include <arch/mmio.h> #include <arch/mmio.h>
static unsigned long gen_crat_hsa_entry(struct acpi_crat_header *crat, unsigned long current) static unsigned long gen_crat_hsa_entry(struct acpi_crat_header *crat, unsigned long current)

View File

@ -11,7 +11,6 @@
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <soc/pcr_ids.h> #include <soc/pcr_ids.h>
#include <soc/tcss.h> #include <soc/tcss.h>
#include <stdlib.h>
#include <drivers/intel/pmc_mux/conn/chip.h> #include <drivers/intel/pmc_mux/conn/chip.h>
#define BIAS_CTRL_VW_INDEX_SHIFT 16 #define BIAS_CTRL_VW_INDEX_SHIFT 16

View File

@ -8,7 +8,6 @@
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <soc/soc_util.h> #include <soc/soc_util.h>
#include <soc/util.h> #include <soc/util.h>
#include <stdlib.h>
const struct SystemMemoryMapHob *get_system_memory_map(void) const struct SystemMemoryMapHob *get_system_memory_map(void)
{ {