.. | .. |
---|
2 | 2 | /* |
---|
3 | 3 | * Low level suspend code for AM43XX SoCs |
---|
4 | 4 | * |
---|
5 | | - * Copyright (C) 2013-2018 Texas Instruments Incorporated - http://www.ti.com/ |
---|
| 5 | + * Copyright (C) 2013-2018 Texas Instruments Incorporated - https://www.ti.com/ |
---|
6 | 6 | * Dave Gerlach, Vaibhav Bedia |
---|
7 | 7 | */ |
---|
8 | 8 | |
---|
9 | | -#include <generated/ti-pm-asm-offsets.h> |
---|
10 | 9 | #include <linux/linkage.h> |
---|
11 | 10 | #include <linux/ti-emif-sram.h> |
---|
12 | 11 | #include <linux/platform_data/pm33xx.h> |
---|
.. | .. |
---|
19 | 18 | #include "iomap.h" |
---|
20 | 19 | #include "omap-secure.h" |
---|
21 | 20 | #include "omap44xx.h" |
---|
| 21 | +#include "pm-asm-offsets.h" |
---|
22 | 22 | #include "prm33xx.h" |
---|
23 | 23 | #include "prcm43xx.h" |
---|
24 | 24 | |
---|
.. | .. |
---|
56 | 56 | #define RTC_PMIC_EXT_WAKEUP_EN BIT(0) |
---|
57 | 57 | |
---|
58 | 58 | .arm |
---|
| 59 | + .arch armv7-a |
---|
| 60 | + .arch_extension sec |
---|
59 | 61 | .align 3 |
---|
60 | 62 | |
---|
61 | 63 | ENTRY(am43xx_do_wfi) |
---|
.. | .. |
---|
368 | 370 | mov r1, #AM43XX_EMIF_POWEROFF_DISABLE |
---|
369 | 371 | str r1, [r2, #0x0] |
---|
370 | 372 | |
---|
| 373 | + ldr r1, [r9, #EMIF_PM_RUN_HW_LEVELING] |
---|
| 374 | + blx r1 |
---|
| 375 | + |
---|
371 | 376 | #ifdef CONFIG_CACHE_L2X0 |
---|
372 | 377 | ldr r2, l2_cache_base |
---|
373 | 378 | ldr r0, [r2, #L2X0_CTRL] |
---|