src/cpu: Use 'include <stdlib.h>' when appropriate

Change-Id: I44346594bc106eed73a1268b82f026b69e5f4512
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32821
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Elyes HAOUAS 2019-05-15 22:05:54 +02:00 committed by Martin Roth
parent 2195f7af23
commit 361f6fff5f
8 changed files with 0 additions and 8 deletions

View File

@ -22,7 +22,6 @@
#include <console/console.h>
#include <delay.h>
#include <lib.h>
#include <stdlib.h>
static struct a10_ccm *const ccm = (void *)A1X_CCM_BASE;

View File

@ -16,7 +16,6 @@
#ifndef INIT_CPUS_H
#define INIT_CPUS_H
#include <stdlib.h>
#include <cpu/x86/lapic.h>
#include <cpu/x86/mtrr.h>
#include <cpu/amd/msr.h>

View File

@ -15,7 +15,6 @@
*/
#include <stdint.h>
#include <stdlib.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include "haswell.h"

View File

@ -15,7 +15,6 @@
*/
#include <stdint.h>
#include <stdlib.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/speedstep.h>

View File

@ -15,7 +15,6 @@
*/
#include <stdint.h>
#include <stdlib.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/speedstep.h>

View File

@ -16,7 +16,6 @@
#include <console/console.h>
#include <cpu/ti/am335x/gpio.h>
#include <stdint.h>
#include <stdlib.h>
static struct am335x_gpio_regs *gpio_regs_and_bit(unsigned int gpio,
uint32_t *bit)

View File

@ -12,7 +12,6 @@
* GNU General Public License for more details.
*/
#include <stdlib.h>
#include <types.h>
#include <console/uart.h>
#include <device/mmio.h>

View File

@ -22,7 +22,6 @@
*/
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <bootstate.h>
#include <commonlib/helpers.h>