drivers/mipi: Add support for KD_KD110N11_51IE panel
[coreboot2.git] / src / soc / mediatek / mt8186 / gic.c
blobac077647af6efa199afb8d56930fdb836ebd33a5
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /*
4 * This file is created based on MT8186 Functional Specification
5 * Chapter number: 4.3
6 */
8 #include <device/mmio.h>
9 #include <soc/addressmap.h>
10 #include <soc/gic.h>
12 void mtk_gic_preinit(void)
14 int i;
16 for (i = 3; i < 15; i++) {
17 write32((void *)((uintptr_t)MCUSYS_BASE + 0xA600 + i * 4), 0);
18 write32((void *)((uintptr_t)MCUSYS_BASE + 0xA650 + i * 4), 0xFFFFFFFF);