soc/{qualcomm,rockchip}: Use 'include <stdlib.h>' when appropriate

Also including <types.h>, is supposed to provide stdint and stddef.

Change-Id: Iab605f6be4a48c10fa5aae7a1222520149ad1392
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33691
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Elyes HAOUAS 2019-06-23 07:08:12 +02:00 committed by Patrick Georgi
parent 231537bb8f
commit 17b1a166a3
3 changed files with 3 additions and 4 deletions

View File

@ -19,7 +19,7 @@
#include <gpio.h>
#include <soc/iomap.h>
#include <soc/spi.h>
#include <stdlib.h>
#include <types.h>
#define SUCCESS 0

View File

@ -18,13 +18,12 @@
#include <delay.h>
#include <device/device.h>
#include <edid.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <soc/addressmap.h>
#include <soc/display.h>
#include <soc/edp.h>
#include <timer.h>
#include <types.h>
#define edp_debug(x...) do {if (0) printk(BIOS_DEBUG, x); } while (0)

View File

@ -23,8 +23,8 @@
#include <soc/clock.h>
#include <spi-generic.h>
#include <spi_flash.h>
#include <stdlib.h>
#include <timer.h>
#include <types.h>
struct rockchip_spi_slave {
struct rockchip_spi *regs;