summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8192/include
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 /src/soc/mediatek/mt8192/include
parente5d3b4e36e1e9ac6701a6f337b601420c7d88779 (diff)
downloadcoreboot-ab686715f29ffd323a5880685b587981abddeac6.tar.gz
coreboot-ab686715f29ffd323a5880685b587981abddeac6.tar.bz2
coreboot-ab686715f29ffd323a5880685b587981abddeac6.zip
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>
Diffstat (limited to 'src/soc/mediatek/mt8192/include')
-rw-r--r--src/soc/mediatek/mt8192/include/soc/eint_event.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/soc/mediatek/mt8192/include/soc/eint_event.h b/src/soc/mediatek/mt8192/include/soc/eint_event.h
deleted file mode 100644
index 05d1fbcb0c85..000000000000
--- a/src/soc/mediatek/mt8192/include/soc/eint_event.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef SOC_MEDIATEK_MT8192_EINT_EVENT_H
-#define SOC_MEDIATEK_MT8192_EINT_EVENT_H
-
-#include <device/mmio.h>
-#include <soc/addressmap.h>
-
-/* eint event mask cler register */
-struct eint_event_reg {
- uint32_t eint_event_mask_clr[7];
-};
-
-/* eint_base + 0x880 is eint_event_mask_clr register with access type W1C. */
-static struct eint_event_reg *const mtk_eint_event = (void *)(EINT_BASE + 0x880);
-
-/* unmask eint event, eint can wakeup by spm */
-void unmask_eint_event_mask(void);
-
-#endif