From a8c9674c420f164024cc3e2f7b310ca336d2b5e0 Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Mon, 25 Jul 2022 16:02:21 +0800 Subject: 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 Change-Id: I48978a93137a7de42f8ea2873be3130cb8f534f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66123 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/mt8195/include/soc/auxadc.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/soc/mediatek/mt8195/include') diff --git a/src/soc/mediatek/mt8195/include/soc/auxadc.h b/src/soc/mediatek/mt8195/include/soc/auxadc.h index 63c8c7cd1c..6e79ee303b 100644 --- a/src/soc/mediatek/mt8195/include/soc/auxadc.h +++ b/src/soc/mediatek/mt8195/include/soc/auxadc.h @@ -7,17 +7,6 @@ #include #include -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 mt8195_infracfg_ao_regs *const mtk_infracfg = mt8195_infracfg_ao; #endif -- cgit v1.2.3