summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8183/include/soc/efuse.h
blob: 01a95d39ab987716c8477e6c64fbaab28548e283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef _MTK_EFUSE_H
#define _MTK_EFUSE_H

#include <soc/addressmap.h>
#include <types.h>

struct efuse_regs {
	uint32_t rserved[109];
	uint32_t adc_cali_reg;
};

check_member(efuse_regs, adc_cali_reg, 0x1b4);
static struct efuse_regs *const mtk_efuse = (void *)EFUSEC_BASE;

#endif