1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <device/mmio.h> 4 #include <soc/mcucfg.h> 5 #include <soc/mmu_operations.h> 6 mtk_soc_disable_l2c_sram(void)7void mtk_soc_disable_l2c_sram(void) 8 { 9 /* Turn off L2C SRAM and return it to L2 cache. */ 10 write32(&mt8183_mcucfg->l2c_cfg_mp0, 7 << 8); 11 } 12