From 2bb1388d68c00c8f88a469276365832c02d4483b Mon Sep 17 00:00:00 2001 From: Jarried Lin Date: Tue, 20 Aug 2024 17:58:00 +0800 Subject: soc/mediatek/common: Move GPIO definition to the common directory To reduce duplicate gpio_base.h in each SoC folder, move gpio_base.h to mediatek/common folder. TEST=Build pass BUG=b:317009620 Change-Id: I815df8a3083cf04b821165ec834ca98ee71a0c78 Signed-off-by: Jarried Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/83988 Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/mt8186/include/soc/gpio_base.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/soc/mediatek/mt8186/include/soc/gpio_base.h (limited to 'src/soc/mediatek/mt8186/include') diff --git a/src/soc/mediatek/mt8186/include/soc/gpio_base.h b/src/soc/mediatek/mt8186/include/soc/gpio_base.h deleted file mode 100644 index 7f6480a0f1..0000000000 --- a/src/soc/mediatek/mt8186/include/soc/gpio_base.h +++ /dev/null @@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* - * This file is created based on MT8186 Functional Specification - * Chapter number: 5.1 - */ - -#ifndef SOC_MEDIATEK_MT8186_GPIO_BASE_H -#define SOC_MEDIATEK_MT8186_GPIO_BASE_H - -#include - -typedef union { - u32 raw; - struct { - u32 id : 8; - u32 flag : 3; - u32 bit : 5; - u32 base : 8; - u32 offset : 8; - }; -} gpio_t; - -#endif -- cgit v1.2.3