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:
parent
231537bb8f
commit
17b1a166a3
|
@ -19,7 +19,7 @@
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
#include <soc/spi.h>
|
#include <soc/spi.h>
|
||||||
#include <stdlib.h>
|
#include <types.h>
|
||||||
|
|
||||||
#define SUCCESS 0
|
#define SUCCESS 0
|
||||||
|
|
||||||
|
|
|
@ -18,13 +18,12 @@
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
#include <soc/display.h>
|
#include <soc/display.h>
|
||||||
#include <soc/edp.h>
|
#include <soc/edp.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
#include <types.h>
|
||||||
|
|
||||||
#define edp_debug(x...) do {if (0) printk(BIOS_DEBUG, x); } while (0)
|
#define edp_debug(x...) do {if (0) printk(BIOS_DEBUG, x); } while (0)
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
#include <spi-generic.h>
|
#include <spi-generic.h>
|
||||||
#include <spi_flash.h>
|
#include <spi_flash.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
#include <types.h>
|
||||||
|
|
||||||
struct rockchip_spi_slave {
|
struct rockchip_spi_slave {
|
||||||
struct rockchip_spi *regs;
|
struct rockchip_spi *regs;
|
||||||
|
|
Loading…
Reference in New Issue