aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2021-04-19 13:58:07 +0800
committerHung-Te Lin <hungte@chromium.org>2021-04-21 08:56:36 +0000
commitab686715f29ffd323a5880685b587981abddeac6 (patch)
tree613cd806c756f699379eb178030e6ec06ce0611b
parente5d3b4e36e1e9ac6701a6f337b601420c7d88779 (diff)
src/mediatek: Move mt8192 eint driver to common
The eint driver can be shared by multiple platforms so we want to move it to common/. BRANCH=asurada TEST=emerge-asurada coreboot Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: Id8e0b631d5079e51213831ed17aa540e0afadd4b Reviewed-on: https://review.coreboot.org/c/coreboot/+/52506 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/soc/mediatek/common/eint_event.c (renamed from src/soc/mediatek/mt8192/eint_event.c)0
-rw-r--r--src/soc/mediatek/common/include/soc/eint_event.h (renamed from src/soc/mediatek/mt8192/include/soc/eint_event.h)4
-rw-r--r--src/soc/mediatek/mt8192/Makefile.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/mediatek/mt8192/eint_event.c b/src/soc/mediatek/common/eint_event.c
index b3538a1ddf..b3538a1ddf 100644
--- a/src/soc/mediatek/mt8192/eint_event.c
+++ b/src/soc/mediatek/common/eint_event.c
diff --git a/src/soc/mediatek/mt8192/include/soc/eint_event.h b/src/soc/mediatek/common/include/soc/eint_event.h
index 05d1fbcb0c..98db7b04e8 100644
--- a/src/soc/mediatek/mt8192/include/soc/eint_event.h
+++ b/src/soc/mediatek/common/include/soc/eint_event.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef SOC_MEDIATEK_MT8192_EINT_EVENT_H
-#define SOC_MEDIATEK_MT8192_EINT_EVENT_H
+#ifndef SOC_MEDIATEK_COMMON_EINT_EVENT_H
+#define SOC_MEDIATEK_COMMON_EINT_EVENT_H
#include <device/mmio.h>
#include <soc/addressmap.h>
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc
index 40bfe2d957..0181bfcab0 100644
--- a/src/soc/mediatek/mt8192/Makefile.inc
+++ b/src/soc/mediatek/mt8192/Makefile.inc
@@ -2,7 +2,7 @@ ifeq ($(CONFIG_SOC_MEDIATEK_MT8192),y)
bootblock-y += ../common/auxadc.c
bootblock-y += bootblock.c
-bootblock-y += eint_event.c
+bootblock-y += ../common/eint_event.c
bootblock-y += ../common/flash_controller.c
bootblock-y += ../common/gpio.c gpio.c
bootblock-y += ../common/i2c.c i2c.c