summaryrefslogtreecommitdiff
path: root/src/soc/rockchip
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 19:35:39 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 04:06:24 +0000
commit43d5f7e8ea26eb15ce3998c88615cd2a754f9c38 (patch)
tree4ad64532c77236f051c19c8f88182a2ba1126d4c /src/soc/rockchip
parentc00d46353c384016f0d2d4da2df0b2042c4e414b (diff)
downloadcoreboot-43d5f7e8ea26eb15ce3998c88615cd2a754f9c38.tar.xz
src/soc/rockchip: Remove unused <stdlib.h>
Change-Id: Ifdfd37a59273c3647802bc7cb9774e61f90fe441 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37381 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/rockchip')
-rw-r--r--src/soc/rockchip/common/gpio.c1
-rw-r--r--src/soc/rockchip/common/i2c.c1
-rw-r--r--src/soc/rockchip/common/include/soc/edp.h1
-rw-r--r--src/soc/rockchip/common/pwm.c1
-rw-r--r--src/soc/rockchip/common/rk808.c1
-rw-r--r--src/soc/rockchip/common/vop.c1
-rw-r--r--src/soc/rockchip/rk3288/clock.c1
-rw-r--r--src/soc/rockchip/rk3288/display.c1
-rw-r--r--src/soc/rockchip/rk3288/gpio.c1
-rw-r--r--src/soc/rockchip/rk3288/hdmi.c1
-rw-r--r--src/soc/rockchip/rk3288/include/soc/hdmi.h1
-rw-r--r--src/soc/rockchip/rk3288/soc.c1
-rw-r--r--src/soc/rockchip/rk3288/tsadc.c1
-rw-r--r--src/soc/rockchip/rk3399/clock.c1
-rw-r--r--src/soc/rockchip/rk3399/display.c1
-rw-r--r--src/soc/rockchip/rk3399/gpio.c1
-rw-r--r--src/soc/rockchip/rk3399/include/soc/mipi.h1
-rw-r--r--src/soc/rockchip/rk3399/mipi.c1
-rw-r--r--src/soc/rockchip/rk3399/saradc.c1
-rw-r--r--src/soc/rockchip/rk3399/soc.c1
-rw-r--r--src/soc/rockchip/rk3399/tsadc.c1
21 files changed, 0 insertions, 21 deletions
diff --git a/src/soc/rockchip/common/gpio.c b/src/soc/rockchip/common/gpio.c
index 16ab385b03..916ef22bad 100644
--- a/src/soc/rockchip/common/gpio.c
+++ b/src/soc/rockchip/common/gpio.c
@@ -19,7 +19,6 @@
#include <soc/gpio.h>
#include <soc/grf.h>
#include <soc/soc.h>
-#include <stdlib.h>
#include <types.h>
static void gpio_set_dir(gpio_t gpio, enum gpio_dir dir)
diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c
index 953928ed92..391a335475 100644
--- a/src/soc/rockchip/common/i2c.c
+++ b/src/soc/rockchip/common/i2c.c
@@ -23,7 +23,6 @@
#include <soc/soc.h>
#include <soc/i2c.h>
#include <soc/clock.h>
-#include <stdlib.h>
#define RETRY_COUNT 3
/* 100000us = 100ms */
diff --git a/src/soc/rockchip/common/include/soc/edp.h b/src/soc/rockchip/common/include/soc/edp.h
index a9ebbc5089..58986d123a 100644
--- a/src/soc/rockchip/common/include/soc/edp.h
+++ b/src/soc/rockchip/common/include/soc/edp.h
@@ -17,7 +17,6 @@
#define __RK_DP_H
#include <edid.h>
-#include <stdlib.h>
struct rk_edp_regs {
u8 res0[0x10];
diff --git a/src/soc/rockchip/common/pwm.c b/src/soc/rockchip/common/pwm.c
index 82fc2596c0..4e6747de4b 100644
--- a/src/soc/rockchip/common/pwm.c
+++ b/src/soc/rockchip/common/pwm.c
@@ -19,7 +19,6 @@
#include <soc/soc.h>
#include <soc/pwm.h>
#include <soc/clock.h>
-#include <stdlib.h>
#include <timer.h>
struct pwm_ctl {
diff --git a/src/soc/rockchip/common/rk808.c b/src/soc/rockchip/common/rk808.c
index 58d910c285..66a085cefe 100644
--- a/src/soc/rockchip/common/rk808.c
+++ b/src/soc/rockchip/common/rk808.c
@@ -21,7 +21,6 @@
#include <rtc.h>
#include <soc/rk808.h>
#include <stdint.h>
-#include <stdlib.h>
#if CONFIG_PMIC_BUS < 0
#error "PMIC_BUS must be set in mainboard's Kconfig."
diff --git a/src/soc/rockchip/common/vop.c b/src/soc/rockchip/common/vop.c
index 6e0ce4086c..1e970b1450 100644
--- a/src/soc/rockchip/common/vop.c
+++ b/src/soc/rockchip/common/vop.c
@@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
-#include <stdlib.h>
#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
diff --git a/src/soc/rockchip/rk3288/clock.c b/src/soc/rockchip/rk3288/clock.c
index f025d30d4e..1c490b47a1 100644
--- a/src/soc/rockchip/rk3288/clock.c
+++ b/src/soc/rockchip/rk3288/clock.c
@@ -24,7 +24,6 @@
#include <soc/i2c.h>
#include <soc/soc.h>
#include <stdint.h>
-#include <stdlib.h>
#include <string.h>
struct pll_div {
diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c
index 04a5992392..a66b2d42e5 100644
--- a/src/soc/rockchip/rk3288/display.c
+++ b/src/soc/rockchip/rk3288/display.c
@@ -20,7 +20,6 @@
#include <delay.h>
#include <edid.h>
#include <gpio.h>
-#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <soc/addressmap.h>
diff --git a/src/soc/rockchip/rk3288/gpio.c b/src/soc/rockchip/rk3288/gpio.c
index 0f9d85c43a..8eeed888c6 100644
--- a/src/soc/rockchip/rk3288/gpio.c
+++ b/src/soc/rockchip/rk3288/gpio.c
@@ -18,7 +18,6 @@
#include <soc/grf.h>
#include <soc/pmu.h>
#include <soc/soc.h>
-#include <stdlib.h>
struct rockchip_gpio_regs *gpio_port[] = {
(struct rockchip_gpio_regs *)0xff750000,
diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c
index 6569d295ea..cd9890bc9b 100644
--- a/src/soc/rockchip/rk3288/hdmi.c
+++ b/src/soc/rockchip/rk3288/hdmi.c
@@ -24,7 +24,6 @@
#include <delay.h>
#include <edid.h>
#include <gpio.h>
-#include <stdlib.h>
#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/hdmi.h>
diff --git a/src/soc/rockchip/rk3288/include/soc/hdmi.h b/src/soc/rockchip/rk3288/include/soc/hdmi.h
index fb20b4a26e..3089949082 100644
--- a/src/soc/rockchip/rk3288/include/soc/hdmi.h
+++ b/src/soc/rockchip/rk3288/include/soc/hdmi.h
@@ -19,7 +19,6 @@
#define __SOC_HDMI_H__
#include <types.h>
-#include <stdlib.h>
#define HDMI_EDID_BLOCK_SIZE 128
diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c
index bda9553cd7..31c999806f 100644
--- a/src/soc/rockchip/rk3288/soc.c
+++ b/src/soc/rockchip/rk3288/soc.c
@@ -22,7 +22,6 @@
#include <soc/soc.h>
#include <soc/sdram.h>
#include <stddef.h>
-#include <stdlib.h>
#include <symbols.h>
#include "chip.h"
diff --git a/src/soc/rockchip/rk3288/tsadc.c b/src/soc/rockchip/rk3288/tsadc.c
index e0649754b4..de3d0580ff 100644
--- a/src/soc/rockchip/rk3288/tsadc.c
+++ b/src/soc/rockchip/rk3288/tsadc.c
@@ -19,7 +19,6 @@
#include <soc/pmu.h>
#include <soc/tsadc.h>
#include <stdint.h>
-#include <stdlib.h>
struct rk3288_tsadc_regs {
u32 user_con;
diff --git a/src/soc/rockchip/rk3399/clock.c b/src/soc/rockchip/rk3399/clock.c
index f9c49c33d7..4cd2839547 100644
--- a/src/soc/rockchip/rk3399/clock.c
+++ b/src/soc/rockchip/rk3399/clock.c
@@ -23,7 +23,6 @@
#include <soc/i2c.h>
#include <soc/soc.h>
#include <stdint.h>
-#include <stdlib.h>
#include <string.h>
struct pll_div {
diff --git a/src/soc/rockchip/rk3399/display.c b/src/soc/rockchip/rk3399/display.c
index e2e9f7d49b..9cd4053335 100644
--- a/src/soc/rockchip/rk3399/display.c
+++ b/src/soc/rockchip/rk3399/display.c
@@ -21,7 +21,6 @@
#include <delay.h>
#include <edid.h>
#include <gpio.h>
-#include <stdlib.h>
#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
diff --git a/src/soc/rockchip/rk3399/gpio.c b/src/soc/rockchip/rk3399/gpio.c
index 7fe2c1978b..9a01abc038 100644
--- a/src/soc/rockchip/rk3399/gpio.c
+++ b/src/soc/rockchip/rk3399/gpio.c
@@ -18,7 +18,6 @@
#include <soc/gpio.h>
#include <soc/grf.h>
#include <soc/soc.h>
-#include <stdlib.h>
struct rockchip_gpio_regs *gpio_port[] = {
(struct rockchip_gpio_regs *)GPIO0_BASE,
diff --git a/src/soc/rockchip/rk3399/include/soc/mipi.h b/src/soc/rockchip/rk3399/include/soc/mipi.h
index 43ab7b914f..469a052a95 100644
--- a/src/soc/rockchip/rk3399/include/soc/mipi.h
+++ b/src/soc/rockchip/rk3399/include/soc/mipi.h
@@ -16,7 +16,6 @@
#ifndef __RK_MIPI_H
#define __RK_MIPI_H
-#include <stdlib.h>
#include <types.h>
struct rk_mipi_regs {
diff --git a/src/soc/rockchip/rk3399/mipi.c b/src/soc/rockchip/rk3399/mipi.c
index 8b80bd724b..751c8a5e63 100644
--- a/src/soc/rockchip/rk3399/mipi.c
+++ b/src/soc/rockchip/rk3399/mipi.c
@@ -19,7 +19,6 @@
#include <device/device.h>
#include <edid.h>
#include <gpio.h>
-#include <stdlib.h>
#include <string.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
diff --git a/src/soc/rockchip/rk3399/saradc.c b/src/soc/rockchip/rk3399/saradc.c
index 358bb6a7e0..713acc04ad 100644
--- a/src/soc/rockchip/rk3399/saradc.c
+++ b/src/soc/rockchip/rk3399/saradc.c
@@ -20,7 +20,6 @@
#include <soc/clock.h>
#include <soc/saradc.h>
#include <stdint.h>
-#include <stdlib.h>
#include <timer.h>
struct rk3399_saradc_regs {
diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c
index 3f3ff97c7f..807a7bce35 100644
--- a/src/soc/rockchip/rk3399/soc.c
+++ b/src/soc/rockchip/rk3399/soc.c
@@ -23,7 +23,6 @@
#include <soc/sdram.h>
#include <soc/symbols.h>
#include <stddef.h>
-#include <stdlib.h>
#include <symbols.h>
void bootmem_platform_add_ranges(void)
diff --git a/src/soc/rockchip/rk3399/tsadc.c b/src/soc/rockchip/rk3399/tsadc.c
index 78ce1e366e..1cdb355237 100644
--- a/src/soc/rockchip/rk3399/tsadc.c
+++ b/src/soc/rockchip/rk3399/tsadc.c
@@ -19,7 +19,6 @@
#include <soc/grf.h>
#include <soc/tsadc.h>
#include <stdint.h>
-#include <stdlib.h>
struct rk3399_tsadc_regs {
u32 user_con;