mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02: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:
committed by
Tom Rini
parent
cd3eadc2bb
commit
8ca0f51c59
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user