diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-23 07:08:12 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-25 16:06:54 +0000 |
commit | 17b1a166a3d91abb9cd33c328be50a6f91f0fb89 (patch) | |
tree | 35bafb291b95d12ed0be99c9be66f98d17f041bd /src/soc/rockchip/common | |
parent | 231537bb8fa013b11e7fbbf3f0b7c7b1496ea210 (diff) |
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>
Diffstat (limited to 'src/soc/rockchip/common')
-rw-r--r-- | src/soc/rockchip/common/edp.c | 3 | ||||
-rw-r--r-- | src/soc/rockchip/common/spi.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/rockchip/common/edp.c b/src/soc/rockchip/common/edp.c index 91e2de9ff4..ea0930a058 100644 --- a/src/soc/rockchip/common/edp.c +++ b/src/soc/rockchip/common/edp.c @@ -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) diff --git a/src/soc/rockchip/common/spi.c b/src/soc/rockchip/common/spi.c index e929419a14..7bde4333ea 100644 --- a/src/soc/rockchip/common/spi.c +++ b/src/soc/rockchip/common/spi.c @@ -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; |