summaryrefslogtreecommitdiff
path: root/src/soc
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
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')
-rw-r--r--src/soc/nvidia/tegra124/clock.c1
-rw-r--r--src/soc/nvidia/tegra124/display.c1
-rw-r--r--src/soc/nvidia/tegra124/dma.c1
-rw-r--r--src/soc/nvidia/tegra124/include/soc/clock.h1
-rw-r--r--src/soc/nvidia/tegra124/sdram.c1
-rw-r--r--src/soc/nvidia/tegra124/sdram_lp0.c1
-rw-r--r--src/soc/nvidia/tegra124/sor.c1
-rw-r--r--src/soc/nvidia/tegra124/verstage.c1
-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
17 files changed, 0 insertions, 17 deletions
diff --git a/src/soc/nvidia/tegra124/clock.c b/src/soc/nvidia/tegra124/clock.c
index 46ac4aca5d..04e7d79fef 100644
--- a/src/soc/nvidia/tegra124/clock.c
+++ b/src/soc/nvidia/tegra124/clock.c
@@ -25,7 +25,6 @@
#include <soc/maincpu.h>
#include <soc/pmc.h>
#include <soc/sysctr.h>
-#include <stdlib.h>
#include <symbols.h>
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
diff --git a/src/soc/nvidia/tegra124/display.c b/src/soc/nvidia/tegra124/display.c
index 51f7215c0f..6fa3bdf0be 100644
--- a/src/soc/nvidia/tegra124/display.c
+++ b/src/soc/nvidia/tegra124/display.c
@@ -26,7 +26,6 @@
#include <soc/nvidia/tegra/dc.h>
#include <soc/nvidia/tegra/pwm.h>
#include <stdint.h>
-#include <stdlib.h>
#include <string.h>
#include "chip.h"
diff --git a/src/soc/nvidia/tegra124/dma.c b/src/soc/nvidia/tegra124/dma.c
index 78a8d10e00..23efd4c084 100644
--- a/src/soc/nvidia/tegra124/dma.c
+++ b/src/soc/nvidia/tegra124/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/tegra124/include/soc/clock.h b/src/soc/nvidia/tegra124/include/soc/clock.h
index f99e786180..712c479caa 100644
--- a/src/soc/nvidia/tegra124/include/soc/clock.h
+++ b/src/soc/nvidia/tegra124/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/tegra124/sdram.c b/src/soc/nvidia/tegra124/sdram.c
index cf529257a7..0057d2a21e 100644
--- a/src/soc/nvidia/tegra124/sdram.c
+++ b/src/soc/nvidia/tegra124/sdram.c
@@ -22,7 +22,6 @@
#include <soc/mc.h>
#include <soc/pmc.h>
#include <soc/sdram.h>
-#include <stdlib.h>
#include <symbols.h>
diff --git a/src/soc/nvidia/tegra124/sdram_lp0.c b/src/soc/nvidia/tegra124/sdram_lp0.c
index 731fc6155c..aade07c9b7 100644
--- a/src/soc/nvidia/tegra124/sdram_lp0.c
+++ b/src/soc/nvidia/tegra124/sdram_lp0.c
@@ -20,7 +20,6 @@
#include <soc/clk_rst.h>
#include <soc/pmc.h>
#include <soc/sdram.h>
-#include <stdlib.h>
/*
* This function reads SDRAM parameters (and a few CLK_RST register values) from
diff --git a/src/soc/nvidia/tegra124/sor.c b/src/soc/nvidia/tegra124/sor.c
index 9554ce9173..1eac52917d 100644
--- a/src/soc/nvidia/tegra124/sor.c
+++ b/src/soc/nvidia/tegra124/sor.c
@@ -28,7 +28,6 @@
#include <soc/nvidia/tegra/displayport.h>
#include <soc/sor.h>
#include <stdint.h>
-#include <stdlib.h>
#include "chip.h"
diff --git a/src/soc/nvidia/tegra124/verstage.c b/src/soc/nvidia/tegra124/verstage.c
index 7ecf31a84e..6564dcb966 100644
--- a/src/soc/nvidia/tegra124/verstage.c
+++ b/src/soc/nvidia/tegra124/verstage.c
@@ -20,7 +20,6 @@
#include <program_loading.h>
#include <soc/cache.h>
#include <soc/early_configs.h>
-#include <stdlib.h>
#include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
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>