summaryrefslogtreecommitdiff
path: root/src/soc/nvidia
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-28 08:54:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:42:32 +0000
commit0c154af2175fcb05bffa4ccad11c40366f5417e7 (patch)
tree3779418baad8ad97239acddc24a09110cc1f3b6a /src/soc/nvidia
parent48378e1f8d132a3d3bdbb7b1eac5c769c273e6e1 (diff)
src: Remove redundant includes
<types.h> is supposed to provide <commonlib/bsd/cb_err.h>, <stdbool.h>,<stdint.h> and <stddef.h>. So remove those includes each time when <types.h> is included. Change-Id: I886f02255099f3005852a2e6095b21ca86a940ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41817 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/nvidia')
-rw-r--r--src/soc/nvidia/tegra/dc.h2
-rw-r--r--src/soc/nvidia/tegra124/spi.c1
-rw-r--r--src/soc/nvidia/tegra210/include/soc/dma.h1
-rw-r--r--src/soc/nvidia/tegra210/spi.c1
4 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/nvidia/tegra/dc.h b/src/soc/nvidia/tegra/dc.h
index f0f5b11172..27bbee80e6 100644
--- a/src/soc/nvidia/tegra/dc.h
+++ b/src/soc/nvidia/tegra/dc.h
@@ -2,8 +2,8 @@
#ifndef __SOC_NVIDIA_TEGRA_DC_H
#define __SOC_NVIDIA_TEGRA_DC_H
+
#include <device/device.h>
-#include <stddef.h>
#include <types.h>
/* Register definitions for the Tegra display controller */
diff --git a/src/soc/nvidia/tegra124/spi.c b/src/soc/nvidia/tegra124/spi.c
index 6a2572167e..adf0248849 100644
--- a/src/soc/nvidia/tegra124/spi.c
+++ b/src/soc/nvidia/tegra124/spi.c
@@ -7,7 +7,6 @@
#include <boot_device.h>
#include <console/console.h>
#include <delay.h>
-#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/dma.h>
#include <soc/spi.h>
diff --git a/src/soc/nvidia/tegra210/include/soc/dma.h b/src/soc/nvidia/tegra210/include/soc/dma.h
index 3add2baf99..b06cec6212 100644
--- a/src/soc/nvidia/tegra210/include/soc/dma.h
+++ b/src/soc/nvidia/tegra210/include/soc/dma.h
@@ -3,7 +3,6 @@
#ifndef __NVIDIA_TEGRA210_DMA_H__
#define __NVIDIA_TEGRA210_DMA_H__
-#include <stdint.h>
#include <soc/addressmap.h>
#include <types.h>
diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c
index eae8f39cc9..8fde9c2ea7 100644
--- a/src/soc/nvidia/tegra210/spi.c
+++ b/src/soc/nvidia/tegra210/spi.c
@@ -7,7 +7,6 @@
#include <boot_device.h>
#include <console/console.h>
#include <delay.h>
-#include <stdint.h>
#include <spi-generic.h>
#include <spi_flash.h>
#include <soc/addressmap.h>