soc/intel: Remove unused <string.h>
Found using following command: diff <(git grep -l '#include <string.h>' -- src/) <(git grep -l 'STRINGIFY\|memcpy(\|memmove(\|memset(\|memcmp(\|memchr(\|strdup(\|strconcat(\|strnlen(\|strlen(\|strchr(\|strncpy(\|strcpy(\|strcmp(\|strncmp(\|strspn(\|strcspn(\|strstr(\|strtok_r(\|strtok(\|atol(\|strrchr(\|skip_atoi(\|vsnprintf(\|snprintf(' -- src/) Change-Id: Iae90ff482f534d8de2a519619c20a019d054e700 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60553 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include <soc/pm.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
/*
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/pm.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -11,7 +11,6 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <southbridge/intel/common/acpi_pirq_gen.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
#define MIN_SHARED_IRQ 16
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <soc/pm.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* List of supported C-states in this processor.
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/ramstage.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
/* SATA DEVSLP idle timeout default values */
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <string.h>
|
||||
|
||||
static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
|
||||
const struct soc_intel_elkhartlake_config *config)
|
||||
|
@@ -15,7 +15,6 @@
|
||||
#include <soc/pm.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* List of supported C-states in this processor.
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <soc/pm.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* List of supported C-states in this processor.
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <string.h>
|
||||
|
||||
static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
|
||||
const struct soc_intel_jasperlake_config *config)
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <soc/pm.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <soc/systemagent.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* List of supported C-states in this processor.
|
||||
|
Reference in New Issue
Block a user