hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-omap2/sleep43xx.S
....@@ -2,11 +2,10 @@
22 /*
33 * Low level suspend code for AM43XX SoCs
44 *
5
- * Copyright (C) 2013-2018 Texas Instruments Incorporated - http://www.ti.com/
5
+ * Copyright (C) 2013-2018 Texas Instruments Incorporated - https://www.ti.com/
66 * Dave Gerlach, Vaibhav Bedia
77 */
88
9
-#include <generated/ti-pm-asm-offsets.h>
109 #include <linux/linkage.h>
1110 #include <linux/ti-emif-sram.h>
1211 #include <linux/platform_data/pm33xx.h>
....@@ -19,6 +18,7 @@
1918 #include "iomap.h"
2019 #include "omap-secure.h"
2120 #include "omap44xx.h"
21
+#include "pm-asm-offsets.h"
2222 #include "prm33xx.h"
2323 #include "prcm43xx.h"
2424
....@@ -56,6 +56,8 @@
5656 #define RTC_PMIC_EXT_WAKEUP_EN BIT(0)
5757
5858 .arm
59
+ .arch armv7-a
60
+ .arch_extension sec
5961 .align 3
6062
6163 ENTRY(am43xx_do_wfi)
....@@ -368,6 +370,9 @@
368370 mov r1, #AM43XX_EMIF_POWEROFF_DISABLE
369371 str r1, [r2, #0x0]
370372
373
+ ldr r1, [r9, #EMIF_PM_RUN_HW_LEVELING]
374
+ blx r1
375
+
371376 #ifdef CONFIG_CACHE_L2X0
372377 ldr r2, l2_cache_base
373378 ldr r0, [r2, #L2X0_CTRL]