soc/mediatek/mt8196: Move dvfs_init() declaration to dvfs_common.h

To promote code reuse and maintainability, move dvfs_init() declaration
to dvfs_common.h.

BUG=b:410763782
BRANCH=none
TEST=Build pass.

Signed-off-by: Hope Wang <hope.wang@mediatek.corp-partner.google.com>
Change-Id: If9778a13a4664bdaf4cad65c8daa78c10748466d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87915
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Hope Wang 2025-04-30 10:53:28 +08:00 committed by Yidi Lin
commit 096ce4b244
2 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
#ifndef __SOC_MEDIATEK_DVFS_COMMON_H__
#define __SOC_MEDIATEK_DVFS_COMMON_H__
void dvfs_init(void);
#endif

View file

@ -4,11 +4,9 @@
#define __SOC_MEDIATEK_MT8196_DVFS_H__
#include <soc/addressmap.h>
#include <soc/dvfs_common.h>
#define CACHE_LINE 64
#define CSRAM_OFFSET 0x0001BC00
#define CSRAM_BASE (SRAM_BASE + CSRAM_OFFSET)
void dvfs_init(void);
#endif