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>
This commit is contained in:
parent
c00d46353c
commit
43d5f7e8ea
|
@ -19,7 +19,6 @@
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <soc/grf.h>
|
#include <soc/grf.h>
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
||||||
static void gpio_set_dir(gpio_t gpio, enum gpio_dir dir)
|
static void gpio_set_dir(gpio_t gpio, enum gpio_dir dir)
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <soc/i2c.h>
|
#include <soc/i2c.h>
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#define RETRY_COUNT 3
|
#define RETRY_COUNT 3
|
||||||
/* 100000us = 100ms */
|
/* 100000us = 100ms */
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#define __RK_DP_H
|
#define __RK_DP_H
|
||||||
|
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
struct rk_edp_regs {
|
struct rk_edp_regs {
|
||||||
u8 res0[0x10];
|
u8 res0[0x10];
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <soc/pwm.h>
|
#include <soc/pwm.h>
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
|
||||||
struct pwm_ctl {
|
struct pwm_ctl {
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include <rtc.h>
|
#include <rtc.h>
|
||||||
#include <soc/rk808.h>
|
#include <soc/rk808.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#if CONFIG_PMIC_BUS < 0
|
#if CONFIG_PMIC_BUS < 0
|
||||||
#error "PMIC_BUS must be set in mainboard's Kconfig."
|
#error "PMIC_BUS must be set in mainboard's Kconfig."
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <device/mmio.h>
|
#include <device/mmio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <soc/i2c.h>
|
#include <soc/i2c.h>
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
struct pll_div {
|
struct pll_div {
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <soc/grf.h>
|
#include <soc/grf.h>
|
||||||
#include <soc/pmu.h>
|
#include <soc/pmu.h>
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
struct rockchip_gpio_regs *gpio_port[] = {
|
struct rockchip_gpio_regs *gpio_port[] = {
|
||||||
(struct rockchip_gpio_regs *)0xff750000,
|
(struct rockchip_gpio_regs *)0xff750000,
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
#include <soc/hdmi.h>
|
#include <soc/hdmi.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#define __SOC_HDMI_H__
|
#define __SOC_HDMI_H__
|
||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#define HDMI_EDID_BLOCK_SIZE 128
|
#define HDMI_EDID_BLOCK_SIZE 128
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <soc/sdram.h>
|
#include <soc/sdram.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <soc/pmu.h>
|
#include <soc/pmu.h>
|
||||||
#include <soc/tsadc.h>
|
#include <soc/tsadc.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
struct rk3288_tsadc_regs {
|
struct rk3288_tsadc_regs {
|
||||||
u32 user_con;
|
u32 user_con;
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <soc/i2c.h>
|
#include <soc/i2c.h>
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
struct pll_div {
|
struct pll_div {
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <soc/grf.h>
|
#include <soc/grf.h>
|
||||||
#include <soc/soc.h>
|
#include <soc/soc.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
struct rockchip_gpio_regs *gpio_port[] = {
|
struct rockchip_gpio_regs *gpio_port[] = {
|
||||||
(struct rockchip_gpio_regs *)GPIO0_BASE,
|
(struct rockchip_gpio_regs *)GPIO0_BASE,
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef __RK_MIPI_H
|
#ifndef __RK_MIPI_H
|
||||||
#define __RK_MIPI_H
|
#define __RK_MIPI_H
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
||||||
struct rk_mipi_regs {
|
struct rk_mipi_regs {
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <soc/addressmap.h>
|
#include <soc/addressmap.h>
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <soc/clock.h>
|
#include <soc/clock.h>
|
||||||
#include <soc/saradc.h>
|
#include <soc/saradc.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
|
||||||
struct rk3399_saradc_regs {
|
struct rk3399_saradc_regs {
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <soc/sdram.h>
|
#include <soc/sdram.h>
|
||||||
#include <soc/symbols.h>
|
#include <soc/symbols.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
|
|
||||||
void bootmem_platform_add_ranges(void)
|
void bootmem_platform_add_ranges(void)
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <soc/grf.h>
|
#include <soc/grf.h>
|
||||||
#include <soc/tsadc.h>
|
#include <soc/tsadc.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
struct rk3399_tsadc_regs {
|
struct rk3399_tsadc_regs {
|
||||||
u32 user_con;
|
u32 user_con;
|
||||||
|
|
Loading…
Reference in New Issue