summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra124
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/tegra124
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/tegra124')
-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
8 files changed, 0 insertions, 8 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>