From ab686715f29ffd323a5880685b587981abddeac6 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Mon, 19 Apr 2021 13:58:07 +0800 Subject: [PATCH] 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 Change-Id: Id8e0b631d5079e51213831ed17aa540e0afadd4b Reviewed-on: https://review.coreboot.org/c/coreboot/+/52506 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/{mt8192 => common}/eint_event.c | 0 src/soc/mediatek/{mt8192 => common}/include/soc/eint_event.h | 4 ++-- src/soc/mediatek/mt8192/Makefile.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/soc/mediatek/{mt8192 => common}/eint_event.c (100%) rename src/soc/mediatek/{mt8192 => common}/include/soc/eint_event.h (84%) diff --git a/src/soc/mediatek/mt8192/eint_event.c b/src/soc/mediatek/common/eint_event.c similarity index 100% rename from src/soc/mediatek/mt8192/eint_event.c rename to 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 similarity index 84% rename from src/soc/mediatek/mt8192/include/soc/eint_event.h rename to 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 #include 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