summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-29 08:00:27 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-01 14:55:51 +0000
commitb23571c18efde083dd702c22ccc03dd6a08626b1 (patch)
tree5b2a9168c995333151df82b5d90afe8019c291ab /src/soc/mediatek
parentfe657614e9a5aa4393ae2ccbab7945b2598faad8 (diff)
src: Drop duplicated includes
<types.h> already provides <commonlib/bsd/cb_err.h>, <limits.h>, <stdbool.h>, <stdint.h> and <stddef.h> headers. Change-Id: I700b3f0e864ecce3f8b3b66f3bf6c8f1040acee1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60437 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/common/flash_controller.c1
-rw-r--r--src/soc/mediatek/common/include/soc/dpm.h1
-rw-r--r--src/soc/mediatek/mt8192/include/soc/spm.h1
-rw-r--r--src/soc/mediatek/mt8195/include/soc/spm.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/mediatek/common/flash_controller.c b/src/soc/mediatek/common/flash_controller.c
index cdda056b9f..3fe17f8612 100644
--- a/src/soc/mediatek/common/flash_controller.c
+++ b/src/soc/mediatek/common/flash_controller.c
@@ -7,7 +7,6 @@
#include <soc/symbols.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/common/include/soc/dpm.h b/src/soc/mediatek/common/include/soc/dpm.h
index 8c110aaaf1..e72b6a1f3d 100644
--- a/src/soc/mediatek/common/include/soc/dpm.h
+++ b/src/soc/mediatek/common/include/soc/dpm.h
@@ -5,7 +5,6 @@
#include <soc/addressmap.h>
#include <soc/mcu_common.h>
-#include <stdint.h>
#include <types.h>
struct dpm_regs {
diff --git a/src/soc/mediatek/mt8192/include/soc/spm.h b/src/soc/mediatek/mt8192/include/soc/spm.h
index d99ca6587b..4951f13ccb 100644
--- a/src/soc/mediatek/mt8192/include/soc/spm.h
+++ b/src/soc/mediatek/mt8192/include/soc/spm.h
@@ -5,7 +5,6 @@
#include <soc/addressmap.h>
#include <soc/mtcmos.h>
-#include <stdint.h>
#include <types.h>
/* SPM READ/WRITE CFG */
diff --git a/src/soc/mediatek/mt8195/include/soc/spm.h b/src/soc/mediatek/mt8195/include/soc/spm.h
index fb7d17fb54..945852a560 100644
--- a/src/soc/mediatek/mt8195/include/soc/spm.h
+++ b/src/soc/mediatek/mt8195/include/soc/spm.h
@@ -6,7 +6,6 @@
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/mtcmos.h>
-#include <stdint.h>
#include <types.h>
/* SPM READ/WRITE CFG */