Remove the unused weak function arm_init_domains used to change the
DACR value.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
{
}
-void arm_init_domains(void)
-{
-}
#endif /* #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) */
#if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
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);
{
}
-__weak void arm_init_domains(void)
-{
-}
-
static void set_section_phys(int section, phys_addr_t phys,
enum dcache_option option)
{
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);