forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/mach-omap2/omap-headsmp.S
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Secondary CPU startup routine source file.
34 *
....@@ -9,10 +10,6 @@
910 * Interface functions needed for the SMP. This file is based on arm
1011 * realview smp platform.
1112 * Copyright (c) 2003 ARM Limited.
12
- *
13
- * This program is free software,you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License version 2 as
15
- * published by the Free Software Foundation.
1613 */
1714
1815 #include <linux/linkage.h>
....@@ -58,6 +55,8 @@
5855 * omap5_secondary_startup if the primary CPU was put into HYP mode by
5956 * the boot loader.
6057 */
58
+ .arch armv7-a
59
+ .arch_extension sec
6160 ENTRY(omap5_secondary_hyp_startup)
6261 wait_2: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0
6362 ldr r0, [r2]