sleep34xx.S (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) sleep34xx.S (5fc1f76a85ce50b501b1d2ef04a29bc79910807d)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * (C) Copyright 2007
4 * Texas Instruments
5 * Karthik Dasu <karthik-dp@ti.com>
6 *
7 * (C) Copyright 2004
8 * Texas Instruments, <www.ti.com>

--- 451 unchanged lines hidden (view full) ---

460 mov r12, #0x3
461 smc #0 @ Call SMI monitor (smieq)
462 ldr r4, scratchpad_base
463 ldr r3, [r4,#0xBC]
464 ldr r0, [r3,#12]
465 mov r12, #0x2
466 smc #0 @ Call SMI monitor (smieq)
467logic_l1_restore:
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * (C) Copyright 2007
4 * Texas Instruments
5 * Karthik Dasu <karthik-dp@ti.com>
6 *
7 * (C) Copyright 2004
8 * Texas Instruments, <www.ti.com>

--- 451 unchanged lines hidden (view full) ---

460 mov r12, #0x3
461 smc #0 @ Call SMI monitor (smieq)
462 ldr r4, scratchpad_base
463 ldr r3, [r4,#0xBC]
464 ldr r0, [r3,#12]
465 mov r12, #0x2
466 smc #0 @ Call SMI monitor (smieq)
467logic_l1_restore:
468 adr r0, l2dis_3630_offset @ adress for offset
468 adr r0, l2dis_3630_offset @ address for offset
469 ldr r1, [r0] @ value for offset
470 ldr r1, [r0, r1] @ value at l2dis_3630
471 cmp r1, #0x1 @ Test if L2 re-enable needed on 3630
472 bne skipl2reen
473 mrc p15, 0, r1, c1, c0, 1
474 orr r1, r1, #2 @ re-enable L2 cache
475 mcr p15, 0, r1, c1, c0, 1
476skipl2reen:

--- 93 unchanged lines hidden ---
469 ldr r1, [r0] @ value for offset
470 ldr r1, [r0, r1] @ value at l2dis_3630
471 cmp r1, #0x1 @ Test if L2 re-enable needed on 3630
472 bne skipl2reen
473 mrc p15, 0, r1, c1, c0, 1
474 orr r1, r1, #2 @ re-enable L2 cache
475 mcr p15, 0, r1, c1, c0, 1
476skipl2reen:

--- 93 unchanged lines hidden ---