drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / soc / mediatek / mt8188 / cpu_input_gating.c
blob10f6338d357b261c8bf25834b3e11a820dd570cb
1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
3 #include <device/mmio.h>
4 #include <soc/addressmap.h>
5 #include <soc/cpu_input_gating.h>
7 #define CPU6_IG_EN_REG (MCUSYS_BASE + 0x3308)
8 #define CPU7_IG_EN_REG (MCUSYS_BASE + 0x3b08)
9 #define DISABLE_CPU_IG 0xfc000001
11 void disable_cpu_input_gating(void)
13 write32p(CPU6_IG_EN_REG, DISABLE_CPU_IG);
14 write32p(CPU7_IG_EN_REG, DISABLE_CPU_IG);