summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/include
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2022-07-25 16:02:21 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2022-07-29 15:03:56 +0000
commita8c9674c420f164024cc3e2f7b310ca336d2b5e0 (patch)
tree2b6289d55404c8f4f3f8c3f6a22bcb8e260c0146 /src/soc/mediatek/mt8183/include
parent8a039031dd69e7c6d970eef1e8841aae5c888b0d (diff)
soc/mediatek: Move struct mtk_auxadc_regs to auxadc_common.h
The AUXADC register definitions are the same for all MediaTek SoCs, so we move struct mtk_auxadc_regs to auxadc_common.h. TEST=build pass. BUG=b:233720142 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I48978a93137a7de42f8ea2873be3130cb8f534f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r--src/soc/mediatek/mt8183/include/soc/auxadc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/mediatek/mt8183/include/soc/auxadc.h b/src/soc/mediatek/mt8183/include/soc/auxadc.h
index 0e07de073c..326261af32 100644
--- a/src/soc/mediatek/mt8183/include/soc/auxadc.h
+++ b/src/soc/mediatek/mt8183/include/soc/auxadc.h
@@ -7,17 +7,6 @@
#include <soc/infracfg.h>
#include <stdint.h>
-typedef struct mtk_auxadc_regs {
- uint32_t con0;
- uint32_t con1;
- uint32_t con1_set;
- uint32_t con1_clr;
- uint32_t con2;
- uint32_t data[16];
- uint32_t reserved[16];
- uint32_t misc;
-} mtk_auxadc_regs;
-
static struct mt8183_infracfg_regs *const mtk_infracfg = mt8183_infracfg;
#endif