summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra210
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 19:40:16 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 04:06:52 +0000
commit8eeff1e0f462c862435fc512d8e79f8b85dba599 (patch)
treeced6b9e3fa9414a445cf24f773f5feb54b735291 /src/soc/nvidia/tegra210
parent43d5f7e8ea26eb15ce3998c88615cd2a754f9c38 (diff)
src/soc/nvidia: Remove unused <stdlib.h>
Change-Id: I404d149cd1052fa0aef233bd0e0867524c738477 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37382 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra210')
-rw-r--r--src/soc/nvidia/tegra210/clock.c1
-rw-r--r--src/soc/nvidia/tegra210/dma.c1
-rw-r--r--src/soc/nvidia/tegra210/dsi.c1
-rw-r--r--src/soc/nvidia/tegra210/include/soc/clock.h1
-rw-r--r--src/soc/nvidia/tegra210/include/soc/mipi-phy.h1
-rw-r--r--src/soc/nvidia/tegra210/mipi-phy.c1
-rw-r--r--src/soc/nvidia/tegra210/sdram.c1
-rw-r--r--src/soc/nvidia/tegra210/sdram_lp0.c1
-rw-r--r--src/soc/nvidia/tegra210/sor.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/src/soc/nvidia/tegra210/clock.c b/src/soc/nvidia/tegra210/clock.c
index 9117654e2a..574691a362 100644
--- a/src/soc/nvidia/tegra210/clock.c
+++ b/src/soc/nvidia/tegra210/clock.c
@@ -18,7 +18,6 @@
#include <assert.h>
#include <console/console.h>
#include <delay.h>
-#include <stdlib.h>
#include <soc/addressmap.h>
#include <soc/clk_rst.h>
#include <soc/clock.h>
diff --git a/src/soc/nvidia/tegra210/dma.c b/src/soc/nvidia/tegra210/dma.c
index 2984abec97..155d348106 100644
--- a/src/soc/nvidia/tegra210/dma.c
+++ b/src/soc/nvidia/tegra210/dma.c
@@ -21,7 +21,6 @@
#include <soc/addressmap.h>
#include <soc/dma.h>
#include <stddef.h>
-#include <stdlib.h>
struct apb_dma * const apb_dma = (struct apb_dma *)TEGRA_APB_DMA_BASE;
diff --git a/src/soc/nvidia/tegra210/dsi.c b/src/soc/nvidia/tegra210/dsi.c
index 7d54c9e8ac..72bf50f3fa 100644
--- a/src/soc/nvidia/tegra210/dsi.c
+++ b/src/soc/nvidia/tegra210/dsi.c
@@ -16,7 +16,6 @@
#include <commonlib/helpers.h>
#include <console/console.h>
#include <device/mmio.h>
-#include <stdlib.h>
#include <delay.h>
#include <timer.h>
#include <soc/addressmap.h>
diff --git a/src/soc/nvidia/tegra210/include/soc/clock.h b/src/soc/nvidia/tegra210/include/soc/clock.h
index 8c4530c027..1e49299e80 100644
--- a/src/soc/nvidia/tegra210/include/soc/clock.h
+++ b/src/soc/nvidia/tegra210/include/soc/clock.h
@@ -22,7 +22,6 @@
#include <device/mmio.h>
#include <soc/clk_rst.h>
#include <stdint.h>
-#include <stdlib.h>
enum {
CLK_L_CPU = 0x1 << 0,
diff --git a/src/soc/nvidia/tegra210/include/soc/mipi-phy.h b/src/soc/nvidia/tegra210/include/soc/mipi-phy.h
index 852c5a38af..e9b579718f 100644
--- a/src/soc/nvidia/tegra210/include/soc/mipi-phy.h
+++ b/src/soc/nvidia/tegra210/include/soc/mipi-phy.h
@@ -15,7 +15,6 @@
#ifndef _TEGRA_MIPI_PHY_H
#define _TEGRA_MIPI_PHY_H
-#include <stdlib.h>
/*
* Macros for calculating the phy timings
diff --git a/src/soc/nvidia/tegra210/mipi-phy.c b/src/soc/nvidia/tegra210/mipi-phy.c
index 4e56730d3b..72dd57deda 100644
--- a/src/soc/nvidia/tegra210/mipi-phy.c
+++ b/src/soc/nvidia/tegra210/mipi-phy.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
#include <device/device.h>
diff --git a/src/soc/nvidia/tegra210/sdram.c b/src/soc/nvidia/tegra210/sdram.c
index ce615476e6..8a7f3d955c 100644
--- a/src/soc/nvidia/tegra210/sdram.c
+++ b/src/soc/nvidia/tegra210/sdram.c
@@ -23,7 +23,6 @@
#include <soc/mc.h>
#include <soc/pmc.h>
#include <soc/sdram.h>
-#include <stdlib.h>
#include <soc/nvidia/tegra/apbmisc.h>
static void sdram_patch(uintptr_t addr, uint32_t value)
diff --git a/src/soc/nvidia/tegra210/sdram_lp0.c b/src/soc/nvidia/tegra210/sdram_lp0.c
index 9eaf5f0550..09747ea269 100644
--- a/src/soc/nvidia/tegra210/sdram_lp0.c
+++ b/src/soc/nvidia/tegra210/sdram_lp0.c
@@ -19,7 +19,6 @@
#include <soc/addressmap.h>
#include <soc/pmc.h>
#include <soc/sdram.h>
-#include <stdlib.h>
/*
* This function reads SDRAM parameters from the common BCT format and
diff --git a/src/soc/nvidia/tegra210/sor.c b/src/soc/nvidia/tegra210/sor.c
index 3055b2953e..8caf05053a 100644
--- a/src/soc/nvidia/tegra210/sor.c
+++ b/src/soc/nvidia/tegra210/sor.c
@@ -18,7 +18,6 @@
#include <console/console.h>
#include <stdint.h>
-#include <stdlib.h>
#include <delay.h>
#include <soc/addressmap.h>
#include <device/device.h>