☰
Debian Codegraph
@
25.09+dfsg-1
/
/
src
/
soc
/
mediatek
/
mt8196
/
dvfs.c
☽
☼
src/soc/mediatek/mt8196/dvfs.c
code
plain
raw
symbols
SCIP
GPL-2
See Files: *
debian/copyright
1
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
2
3
#include
<arch/cache.h>
4
#include
<device/mmio.h>
5
#include
<soc/dvfs.h>
6
7
void
dvfs_init
(
void
)
8
{
9
uint32_t
val;
10
11
val =
BIT
(
8
) |
BIT
(
0
);
12
13
write32p
(
CSRAM_BASE
+
0x8
,
0x55AA55AA
);
14
write32p
(
CSRAM_BASE
+
0xC
, val);
15
}