Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e03b4809 authored by Jisheng Zhang's avatar Jisheng Zhang
Browse files

arm: berlin: remove non-necessary flush_cache_all()



I believe the flush_cache_all() after scu_enable() is to "Ensure that
the data accessed by CPU0 before the SCU was initialised is visible
to the other CPUs." as commented in scu_enable(). So here
flush_cache_all() is a duplication, remove it.

Signed-off-by: default avatarJisheng Zhang <Jisheng.Zhang@synaptics.com>
parent 2e554390
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ static void __init berlin_smp_prepare_cpus(unsigned int max_cpus)
		goto unmap_scu;

	scu_enable(scu_base);
	flush_cache_all();

	/*
	 * Write the first instruction the CPU will execute after being reset