-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 4054 b: refs/heads/master c: 26705ca h: refs/heads/master v: v3
- Loading branch information
Todd Poynor
authored and
Russell King
committed
Jul 1, 2005
1 parent
70e4f31
commit a9acb91
Showing
10 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 44f8e1a20cf3afe10a3744bd9317808a39a242bb | ||
refs/heads/master: 26705ca46bdf81113cc6729eb12b9eee2263bbfc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* PXA27x standby mode | ||
* | ||
* Author: David Burrage | ||
* | ||
* 2005 (c) MontaVista Software, Inc. This file is licensed under | ||
* the terms of the GNU General Public License version 2. This program | ||
* is licensed "as is" without any warranty of any kind, whether express | ||
* or implied. | ||
*/ | ||
|
||
#include <linux/config.h> | ||
#include <linux/linkage.h> | ||
#include <asm/assembler.h> | ||
#include <asm/hardware.h> | ||
|
||
#include <asm/arch/pxa-regs.h> | ||
|
||
.text | ||
|
||
ENTRY(pxa_cpu_standby) | ||
ldr r0, =PSSR | ||
mov r1, #(PSSR_PH | PSSR_STS) | ||
mov r2, #2 | ||
mov r3, #UNCACHED_PHYS_0 @ Read mem context in. | ||
ldr ip, [r3] | ||
b 1f | ||
|
||
.align 5 | ||
1: mcr p14, 0, r2, c7, c0, 0 @ put the system into Standby | ||
str r1, [r0] @ make sure PSSR_PH/STS are clear | ||
mov pc, lr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters