coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mmu_operations.c File Reference
#include <arch/mmu.h>
#include <symbols.h>
#include <soc/emi.h>
#include <soc/mmu_operations.h>
Include dependency graph for mmu_operations.c:

Go to the source code of this file.

Functions

__weak void mtk_soc_after_dram (void)
 
void mtk_mmu_init (void)
 
void mtk_mmu_after_dram (void)
 
void mtk_mmu_disable_l2c_sram (void)
 

Function Documentation

◆ mtk_mmu_after_dram()

void mtk_mmu_after_dram ( void  )

Definition at line 34 of file mmu_operations.c.

References _dram, mmu_config_range(), mtk_soc_after_dram(), NONSECURE_CACHED_MEM, and sdram_size().

Referenced by mtk_dram_init(), and platform_romstage_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mtk_mmu_disable_l2c_sram()

void mtk_mmu_disable_l2c_sram ( void  )

Definition at line 42 of file mmu_operations.c.

References DEV_MEM, mmu_config_range(), mmu_disable(), mmu_enable(), mtk_soc_disable_l2c_sram(), and REGION_SIZE.

Referenced by mtk_soc_after_dram(), and soc_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mtk_mmu_init()

void mtk_mmu_init ( void  )

Definition at line 10 of file mmu_operations.c.

References DEV_MEM, dma_coherent(), GiB, mmu_config_range(), mmu_enable(), mmu_init(), REGION_SIZE, SECURE_CACHED_MEM, and SECURE_UNCACHED_MEM.

Referenced by bootblock_soc_init(), and decompressor_soc_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mtk_soc_after_dram()

__weak void mtk_soc_after_dram ( void  )

Definition at line 8 of file mmu_operations.c.

Referenced by mtk_mmu_after_dram().

Here is the caller graph for this function: