summaryrefslogtreecommitdiff
path: root/src/soc/cavium
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/cavium
parent48378e1f8d132a3d3bdbb7b1eac5c769c273e6e1 (diff)
downloadcoreboot-0c154af2175fcb05bffa4ccad11c40366f5417e7.tar.xz
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/cavium')
-rw-r--r--src/soc/cavium/cn81xx/include/soc/soc.h1
-rw-r--r--src/soc/cavium/cn81xx/include/soc/timer.h1
-rw-r--r--src/soc/cavium/cn81xx/include/soc/uart.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/cavium/cn81xx/include/soc/soc.h b/src/soc/cavium/cn81xx/include/soc/soc.h
index 39395171f7..78343fd705 100644
--- a/src/soc/cavium/cn81xx/include/soc/soc.h
+++ b/src/soc/cavium/cn81xx/include/soc/soc.h
@@ -3,7 +3,6 @@
#ifndef __SOC_CAVIUM_CN81XX_INCLUDE_SOC_SOC_H
#define __SOC_CAVIUM_CN81XX_INCLUDE_SOC_SOC_H
-#include <stdint.h>
#include <types.h>
/* MIO BOOT Registers */
diff --git a/src/soc/cavium/cn81xx/include/soc/timer.h b/src/soc/cavium/cn81xx/include/soc/timer.h
index 99dbb6ad5a..d7225692f9 100644
--- a/src/soc/cavium/cn81xx/include/soc/timer.h
+++ b/src/soc/cavium/cn81xx/include/soc/timer.h
@@ -3,7 +3,6 @@
#ifndef __SOC_CAVIUM_CN81XX_TIMER_H__
#define __SOC_CAVIUM_CN81XX_TIMER_H__
-#include <stdint.h>
#include <types.h>
/* Watchdog functions */
diff --git a/src/soc/cavium/cn81xx/include/soc/uart.h b/src/soc/cavium/cn81xx/include/soc/uart.h
index db1a51eb90..afafd0ec1b 100644
--- a/src/soc/cavium/cn81xx/include/soc/uart.h
+++ b/src/soc/cavium/cn81xx/include/soc/uart.h
@@ -3,7 +3,6 @@
#ifndef __SOC_CAVIUM_COMMON_INCLUDE_SOC_UART_H
#define __SOC_CAVIUM_COMMON_INCLUDE_SOC_UART_H
-#include <stdint.h>
#include <types.h>
int uart_is_enabled(const size_t bus);