coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mmu_operations.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __SOC_MEDIATEK_COMMON_MMU_OPERATIONS_H__
4 #define __SOC_MEDIATEK_COMMON_MMU_OPERATIONS_H__
5 
6 #include <arch/mmu.h>
7 #include <symbols.h>
8 
9 enum {
15 };
16 
17 DECLARE_REGION(sram_l2c)
18 
19 void mtk_soc_after_dram(void);
20 void mtk_soc_disable_l2c_sram(void);
21 
22 void mtk_mmu_init(void);
23 void mtk_mmu_after_dram(void);
24 void mtk_mmu_disable_l2c_sram(void);
25 
26 #endif
#define MA_DEV
Definition: mmu.h:14
#define MA_MEM
Definition: mmu.h:13
#define MA_S
Definition: mmu.h:18
#define MA_NS
Definition: mmu.h:17
#define MA_MEM_NC
Definition: mmu.h:25
#define MA_RW
Definition: mmu.h:22
#define DECLARE_REGION(name)
Definition: symbols.h:12
void mtk_soc_after_dram(void)
Definition: mmu_cmops.c:34
void mtk_mmu_init(void)
void mtk_soc_disable_l2c_sram(void)
Definition: mmu_cmops.c:11
@ SECURE_CACHED_MEM
@ NONSECURE_CACHED_MEM
@ SECURE_UNCACHED_MEM
@ NONSECURE_UNCACHED_MEM
@ DEV_MEM
void mtk_mmu_disable_l2c_sram(void)
void mtk_mmu_after_dram(void)