mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 18:34:42 +00:00
arm: cp15: remove weak function arm_init_domains
Remove the unused weak function arm_init_domains used to change the DACR value. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
This commit is contained in:
parent
cd3eadc2bb
commit
8ca0f51c59
3 changed files with 0 additions and 10 deletions
|
@ -176,9 +176,6 @@ void mmu_page_table_flush(unsigned long start, unsigned long stop)
|
|||
{
|
||||
}
|
||||
|
||||
void arm_init_domains(void)
|
||||
{
|
||||
}
|
||||
#endif /* #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) */
|
||||
|
||||
#if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
|
||||
|
|
|
@ -35,7 +35,6 @@ void l2_cache_disable(void);
|
|||
void set_section_dcache(int section, enum dcache_option option);
|
||||
|
||||
void arm_init_before_mmu(void);
|
||||
void arm_init_domains(void);
|
||||
void cpu_cache_initialization(void);
|
||||
void dram_bank_mmu_setup(int bank);
|
||||
|
||||
|
|
|
@ -22,10 +22,6 @@ __weak void arm_init_before_mmu(void)
|
|||
{
|
||||
}
|
||||
|
||||
__weak void arm_init_domains(void)
|
||||
{
|
||||
}
|
||||
|
||||
static void set_section_phys(int section, phys_addr_t phys,
|
||||
enum dcache_option option)
|
||||
{
|
||||
|
@ -210,8 +206,6 @@ static inline void mmu_setup(void)
|
|||
asm volatile("mcr p15, 0, %0, c3, c0, 0"
|
||||
: : "r" (0x55555555));
|
||||
|
||||
arm_init_domains();
|
||||
|
||||
/* and enable the mmu */
|
||||
reg = get_cr(); /* get control reg. */
|
||||
set_cr(reg | CR_M);
|
||||
|
|
Loading…
Add table
Reference in a new issue