aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek
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/mediatek
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/mediatek')
-rw-r--r--src/soc/mediatek/mt8173/flash_controller.c1
-rw-r--r--src/soc/mediatek/mt8173/include/soc/dramc_register.h1
-rw-r--r--src/soc/mediatek/mt8173/include/soc/emi.h1
-rw-r--r--src/soc/mediatek/mt8183/include/soc/emi.h1
-rw-r--r--src/soc/mediatek/mt8183/include/soc/spm.h1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/mediatek/mt8173/flash_controller.c b/src/soc/mediatek/mt8173/flash_controller.c
index c1f2dae7f3..64eff2e309 100644
--- a/src/soc/mediatek/mt8173/flash_controller.c
+++ b/src/soc/mediatek/mt8173/flash_controller.c
@@ -7,7 +7,6 @@
#include <console/console.h>
#include <spi_flash.h>
#include <spi-generic.h>
-#include <stdint.h>
#include <string.h>
#include <symbols.h>
#include <timer.h>
diff --git a/src/soc/mediatek/mt8173/include/soc/dramc_register.h b/src/soc/mediatek/mt8173/include/soc/dramc_register.h
index 5841b24be7..cabc1dcd19 100644
--- a/src/soc/mediatek/mt8173/include/soc/dramc_register.h
+++ b/src/soc/mediatek/mt8173/include/soc/dramc_register.h
@@ -3,7 +3,6 @@
#ifndef _DRAMC_REGISTER_H_
#define _DRAMC_REGISTER_H_
-#include <stddef.h>
#include <types.h>
#define DRIVING_DS2_0 7 /* DS[2:0] 7->6 */
diff --git a/src/soc/mediatek/mt8173/include/soc/emi.h b/src/soc/mediatek/mt8173/include/soc/emi.h
index 8f12ee3ad9..1cc2577a94 100644
--- a/src/soc/mediatek/mt8173/include/soc/emi.h
+++ b/src/soc/mediatek/mt8173/include/soc/emi.h
@@ -4,7 +4,6 @@
#define SOC_MEDIATEK_MT8173_EMI_H
#include <soc/dramc_common.h>
-#include <stdint.h>
#include <types.h>
/* DDR type */
diff --git a/src/soc/mediatek/mt8183/include/soc/emi.h b/src/soc/mediatek/mt8183/include/soc/emi.h
index e775973b4c..b2d78b965f 100644
--- a/src/soc/mediatek/mt8183/include/soc/emi.h
+++ b/src/soc/mediatek/mt8183/include/soc/emi.h
@@ -3,7 +3,6 @@
#ifndef SOC_MEDIATEK_MT8183_EMI_H
#define SOC_MEDIATEK_MT8183_EMI_H
-#include <stdint.h>
#include <types.h>
#include <soc/dramc_common_mt8183.h>
diff --git a/src/soc/mediatek/mt8183/include/soc/spm.h b/src/soc/mediatek/mt8183/include/soc/spm.h
index e09d451ccf..fa6d6d00ce 100644
--- a/src/soc/mediatek/mt8183/include/soc/spm.h
+++ b/src/soc/mediatek/mt8183/include/soc/spm.h
@@ -4,7 +4,6 @@
#define SOC_MEDIATEK_MT8183_SPM_H
#include <soc/addressmap.h>
-#include <stdint.h>
#include <types.h>
/* SPM READ/WRITE CFG */