src/mainboard: Remove unused 'include <stdlib.h>'

Found using following commande:
diff <(git grep -l '#include <stdlib.h>' -- src/) <(git grep -l '
memalign\|malloc\|free' -- src/) |grep -v vendorcode |grep '<'

Change-Id: Ib2ee840a10de5c10d57aa7a75b805ef69dc8da84
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41241
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2020-05-11 18:13:33 +02:00 committed by Patrick Georgi
parent 6a197964d9
commit bc867d5b1d
39 changed files with 0 additions and 39 deletions

View File

@ -6,7 +6,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
#include <stdlib.h>
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr);
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr);

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
/* Select the CPU family. */

View File

@ -4,7 +4,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include "imc.h"

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <AGESA.h>
#define INSTALL_FT3_SOCKET_SUPPORT TRUE

View File

@ -4,7 +4,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include "imc.h"

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <AGESA.h>
/* Select the CPU family. */

View File

@ -5,7 +5,6 @@
#include <amdblocks/acpimmio.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <stdlib.h>
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr);
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr);

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
/* Select the CPU family. */

View File

@ -6,7 +6,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
#include <stdlib.h>
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr);
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr);

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
/* Select the CPU family. */

View File

@ -4,7 +4,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include "imc.h"

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <AGESA.h>
/* Select the CPU family. */

View File

@ -6,7 +6,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
#include <stdlib.h>
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr);
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr);

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
/* Select the CPU family. */

View File

@ -6,7 +6,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include <option.h>
#include <types.h>

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <vendorcode/amd/agesa/f16kb/AGESA.h>

View File

@ -5,7 +5,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include <spd_bin.h>
#include "imc.h"

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <AGESA.h>
#define INSTALL_FT3_SOCKET_SUPPORT TRUE

View File

@ -4,7 +4,6 @@
#include <console/console.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include <spd_bin.h>
#include "imc.h"

View File

@ -4,7 +4,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include "imc.h"

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <AGESA.h>
#define INSTALL_FT3_SOCKET_SUPPORT TRUE

View File

@ -5,7 +5,6 @@
#include <amdblocks/acpimmio.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <stdlib.h>
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr);
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr);

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
/* Select the cpu family. */

View File

@ -4,7 +4,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
#include "imc.h"

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <AGESA.h>
#define INSTALL_FT3_SOCKET_SUPPORT TRUE

View File

@ -4,7 +4,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <FchPlatform.h>
#include <stdlib.h>
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
{

View File

@ -16,7 +16,6 @@
* @e \$Revision: 23714 $ @e \$Date: 2009-12-09 17:28:37 -0600 (Wed, 09 Dec 2009) $
*/
#include <stdlib.h>
#include <AGESA.h>
#define INSTALL_FT3_SOCKET_SUPPORT TRUE

View File

@ -7,7 +7,6 @@
#include <amdblocks/acpimmio.h>
#include <vendorcode/amd/cimx/sb800/SB800.h>
#include <stdint.h>
#include <stdlib.h>
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr);
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr);

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>
#include <vendorcode/amd/agesa/f14/AGESA.h>

View File

@ -5,7 +5,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
#include <stdlib.h>
/* Should AGESA_GNB_PCIE_SLOT_RESET use agesa_NoopSuccess?
*

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdlib.h>
#include <arch/io.h>
#include <console/console.h>
#include <device/device.h>

View File

@ -5,7 +5,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
#include <stdlib.h>
/* Should AGESA_GNB_PCIE_SLOT_RESET use agesa_NoopSuccess?
*

View File

@ -12,7 +12,6 @@
*
*/
#include <stdlib.h>

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdlib.h>
#include <amdblocks/acpimmio.h>
#include <console/console.h>
#include <device/device.h>

View File

@ -16,7 +16,6 @@
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/soc_util.h>
#include <stdlib.h>
#include <soc/util.h>
#include <timer.h>

View File

@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <console/console.h>
#include <stdlib.h>
#include <soc/addressmap.h>
#include <soc/dramc_common.h>
#include <soc/dramc_register.h>

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdlib.h>
#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <stdlib.h>
#include <console/console.h>
#include <device/pnp.h>
#include <device/device.h>