summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-11-17 11:03:49 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-11-19 00:40:04 +0000
commit006887b688219c8c5e2c301780906892565fc2f1 (patch)
treeec15d2fce70af7ac3233a942495bf6c795c2aafc /src/soc/mediatek
parent1e0ce7a9d8d67e83c67e22dd51d5b8e8f6e7cb8d (diff)
tree: Remove unused <assert.h>
Remove <assert.h> when it is not used. Change-Id: Icb8ee7dcfd05e0a3131d02d1bc8fe150bbf9527b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85164 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/common/dsi.c1
-rw-r--r--src/soc/mediatek/common/pmif.c1
-rw-r--r--src/soc/mediatek/common/pmif_init.c1
-rw-r--r--src/soc/mediatek/mt8183/dramc_pi_calibration_api.c1
-rw-r--r--src/soc/mediatek/mt8186/spm.c1
-rw-r--r--src/soc/mediatek/mt8188/spm.c1
-rw-r--r--src/soc/mediatek/mt8192/gpio.c1
-rw-r--r--src/soc/mediatek/mt8192/spm.c1
-rw-r--r--src/soc/mediatek/mt8195/spm.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c
index f72173e4ad..696f849a6a 100644
--- a/src/soc/mediatek/common/dsi.c
+++ b/src/soc/mediatek/common/dsi.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <mipi/panel.h>
#include <device/mmio.h>
diff --git a/src/soc/mediatek/common/pmif.c b/src/soc/mediatek/common/pmif.c
index 11e279db6b..50fddc810b 100644
--- a/src/soc/mediatek/common/pmif.c
+++ b/src/soc/mediatek/common/pmif.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
diff --git a/src/soc/mediatek/common/pmif_init.c b/src/soc/mediatek/common/pmif_init.c
index c430ad6806..73b22cf670 100644
--- a/src/soc/mediatek/common/pmif_init.c
+++ b/src/soc/mediatek/common/pmif_init.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/pmif_spi.h>
diff --git a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
index 39a1dd4340..9ef28f650f 100644
--- a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
+++ b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
diff --git a/src/soc/mediatek/mt8186/spm.c b/src/soc/mediatek/mt8186/spm.c
index 00e2c27d86..f81add774b 100644
--- a/src/soc/mediatek/mt8186/spm.c
+++ b/src/soc/mediatek/mt8186/spm.c
@@ -5,7 +5,6 @@
* Chapter number: 3.5
*/
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/spm.h>
diff --git a/src/soc/mediatek/mt8188/spm.c b/src/soc/mediatek/mt8188/spm.c
index c87d1f014b..032439938f 100644
--- a/src/soc/mediatek/mt8188/spm.c
+++ b/src/soc/mediatek/mt8188/spm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/pll.h>
#include <soc/spm.h>
diff --git a/src/soc/mediatek/mt8192/gpio.c b/src/soc/mediatek/mt8192/gpio.c
index b10ff58731..600964539a 100644
--- a/src/soc/mediatek/mt8192/gpio.c
+++ b/src/soc/mediatek/mt8192/gpio.c
@@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <gpio.h>
-#include <assert.h>
void *gpio_find_reg_addr(gpio_t gpio)
{
diff --git a/src/soc/mediatek/mt8192/spm.c b/src/soc/mediatek/mt8192/spm.c
index ec893605b3..e4923c0ffa 100644
--- a/src/soc/mediatek/mt8192/spm.c
+++ b/src/soc/mediatek/mt8192/spm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/spm.h>
diff --git a/src/soc/mediatek/mt8195/spm.c b/src/soc/mediatek/mt8195/spm.c
index 01df38d859..665cd46656 100644
--- a/src/soc/mediatek/mt8195/spm.c
+++ b/src/soc/mediatek/mt8195/spm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/spm.h>