summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/include
diff options
context:
space:
mode:
authorJarried Lin <jarried.lin@mediatek.corp-partner.google.com>2024-08-20 17:58:00 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-08-23 14:33:39 +0000
commit2bb1388d68c00c8f88a469276365832c02d4483b (patch)
treeb829c783cf66a04db5de032717d457fd64c0d167 /src/soc/mediatek/mt8186/include
parentd2328698ac26961b9d4d7259c3fb83453a5945dd (diff)
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 <jarried.lin@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83988 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8186/include')
-rw-r--r--src/soc/mediatek/mt8186/include/soc/gpio_base.h24
1 files changed, 0 insertions, 24 deletions
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 <stdint.h>
-
-typedef union {
- u32 raw;
- struct {
- u32 id : 8;
- u32 flag : 3;
- u32 bit : 5;
- u32 base : 8;
- u32 offset : 8;
- };
-} gpio_t;
-
-#endif