summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/mmu_operations.c
blob: 7ef993d6839ae2989305154b231ab74ad038d0aa (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/mmio.h>
#include <soc/mcucfg.h>
#include <soc/mmu_operations.h>

void mtk_soc_disable_l2c_sram(void)
{
	/* Turn off L2C SRAM and return it to L2 cache. */
	write32(&mt8183_mcucfg->l2c_cfg_mp0, 7 << 8);
}