Magnus Damm | 9799165 | 2011-04-29 02:28:08 +0900 | [diff] [blame] | 1 | /* |
| 2 | * sh7372 lowlevel sleep code for "Core Standby Mode" |
| 3 | * |
| 4 | * Copyright (C) 2011 Magnus Damm |
| 5 | * |
| 6 | * In "Core Standby Mode" the ARM core is off, but L2 cache is still on |
| 7 | * |
| 8 | * Based on mach-omap2/sleep34xx.S |
| 9 | * |
| 10 | * (C) Copyright 2007 Texas Instruments |
| 11 | * Karthik Dasu <karthik-dp@ti.com> |
| 12 | * |
| 13 | * (C) Copyright 2004 Texas Instruments, <www.ti.com> |
| 14 | * Richard Woodruff <r-woodruff2@ti.com> |
| 15 | * |
| 16 | * This program is free software; you can redistribute it and/or |
| 17 | * modify it under the terms of the GNU General Public License as |
| 18 | * published by the Free Software Foundation; either version 2 of |
| 19 | * the License, or (at your option) any later version. |
| 20 | * |
| 21 | * This program is distributed in the hope that it will be useful, |
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the |
| 24 | * GNU General Public License for more details. |
| 25 | * |
| 26 | * You should have received a copy of the GNU General Public License |
| 27 | * along with this program; if not, write to the Free Software |
| 28 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 29 | * MA 02111-1307 USA |
| 30 | */ |
| 31 | |
| 32 | #include <linux/linkage.h> |
Magnus Damm | 06b8416 | 2011-09-25 23:18:42 +0200 | [diff] [blame^] | 33 | #include <linux/init.h> |
| 34 | #include <asm/memory.h> |
Magnus Damm | 9799165 | 2011-04-29 02:28:08 +0900 | [diff] [blame] | 35 | #include <asm/assembler.h> |
| 36 | |
Magnus Damm | 9799165 | 2011-04-29 02:28:08 +0900 | [diff] [blame] | 37 | .align 12 |
| 38 | .text |
Magnus Damm | 06b8416 | 2011-09-25 23:18:42 +0200 | [diff] [blame^] | 39 | .global sh7372_resume_core_standby |
| 40 | sh7372_resume_core_standby: |
| 41 | ldr pc, 1f |
| 42 | 1: .long cpu_resume - PAGE_OFFSET + PLAT_PHYS_OFFSET |