Skip to content

Commit 4d66559

Browse files
andyrosskartben
authored andcommitted
soc/mediatek/mtk_adsp: Set XTENSA_CCOUNT_HZ
This got missed. Set it correctly for hygiene, though very few things use it. There is a spot in SOF where it's helpful to have a number for "fasted cpu clock rate" and this is the best candidate. Signed-off-by: Andy Ross <[email protected]>
1 parent da35377 commit 4d66559

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

soc/mediatek/mt8xxx/Kconfig.defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ config MTK_ADSP_TIMER
3636
config XTENSA_TIMER
3737
default n
3838

39+
config XTENSA_CCOUNT_HZ
40+
default 720000000 if SOC_MT8195
41+
default 400000000 if SOC_MT8186
42+
default 800000000 if SOC_MT8188
43+
default 800000000 if SOC_MT8196
44+
3945
config SYS_CLOCK_HW_CYCLES_PER_SEC
4046
default $(dt_node_int_prop_int,$(dt_nodelabel_path,ostimer64),freq-hz)
4147

0 commit comments

Comments
 (0)