drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / soc / mediatek / mt8195 / scp.c
blob0b7d8de491af6f2364df2e2496949ca8a1490c88
1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
3 #include <device/mmio.h>
4 #include <soc/scp.h>
6 void scp_rsi_enable(void)
8 u32 val;
10 for (val = SCP_SRAM_PDN_DISABLE_VAL; val != 0U;) {
11 val = val >> 1;
12 write32(REG_L1TCM_SRAM_PDN, val);
16 void scp_rsi_disable(void)
18 write32(REG_L1TCM_SRAM_PDN, SCP_SRAM_PDN_DISABLE_VAL);