1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/include/asm/dcscb_setup.S
5 * Created by: Dave Martin, 2012-06-22
6 * Copyright: (C) 2012-2013 Linaro Limited
9 #include <linux/linkage.h>
12 ENTRY(dcscb_power_up_setup)
14 cmp r0, #0 @ check affinity level
18 * Enable cluster-level coherency, in preparation for turning on the MMU.
19 * The ACTLR SMP bit does not need to be set here, because cpu_resume()
20 * already restores that.
22 * A15/A7 may not require explicit L2 invalidation on reset, dependent
23 * on hardware integration decisions.
24 * For now, this code assumes that L2 is either already invalidated,
25 * or invalidation is not required.
28 b cci_enable_port_for_self
30 2: @ Implementation-specific local CPU setup operations should go here,
31 @ if any. In this case, there is nothing to do.
35 ENDPROC(dcscb_power_up_setup)