Hung-Te Lin has submitted this change. ( https://review.coreboot.org/c/coreboot/+/52506 )
Change subject: src/mediatek: Move mt8192 eint driver to common ......................................................................
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 --- R src/soc/mediatek/common/eint_event.c R src/soc/mediatek/common/include/soc/eint_event.h M src/soc/mediatek/mt8192/Makefile.inc 3 files changed, 3 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Yu-Ping Wu: Looks good to me, approved
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 05d1fbc..98db7b0 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 40bfe2d9..0181bfc 100644 --- a/src/soc/mediatek/mt8192/Makefile.inc +++ b/src/soc/mediatek/mt8192/Makefile.inc @@ -2,7 +2,7 @@
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