Skip to content

Commit 952c544

Browse files
gctuckerkrzk
authored andcommitted
ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val
The L310_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable sequence. There is no need to set it in the default register value, this was done before support for it was implemented in the code. It is not set in the hardware initial value either. Clean this up by removing this flag from the default l2c_aux_val, and add it to the l2c_aux_mask to print an alert message if it was already set before the kernel initialisation. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 9123e3a commit 952c544

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/mach-exynos/exynos.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ static void __init exynos_dt_fixup(void)
193193
}
194194

195195
DT_MACHINE_START(EXYNOS_DT, "Samsung Exynos (Flattened Device Tree)")
196-
.l2c_aux_val = 0x3c400000,
197-
.l2c_aux_mask = 0xc20fffff,
196+
.l2c_aux_val = 0x38400000,
197+
.l2c_aux_mask = 0xc60fffff,
198198
.smp = smp_ops(exynos_smp_ops),
199199
.map_io = exynos_init_io,
200200
.init_early = exynos_firmware_init,

0 commit comments

Comments
 (0)