-
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: 43398 b: refs/heads/master c: 9073341 h: refs/heads/master v: v3
- Loading branch information
Ben Dooks
authored and
Russell King
committed
Dec 7, 2006
1 parent
b793b52
commit 4ac934c
Showing
7 changed files
with
82 additions
and
3 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: f9a8ca1cabf09316d79cab7f04e1390261ff9035 | ||
refs/heads/master: 9073341c2ba5d5e77b3d05d84cf9e3a16e8a7902 |
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,33 @@ | ||
/* linux/arch/arm/mach-s3c2410/pm-h1940.S | ||
* | ||
* Copyright (c) 2006 Ben Dooks <ben-linux@fluff.org> | ||
* | ||
* H1940 Suspend to RAM | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#include <linux/linkage.h> | ||
#include <asm/assembler.h> | ||
#include <asm/hardware.h> | ||
#include <asm/arch/map.h> | ||
|
||
#include <asm/arch/regs-gpio.h> | ||
|
||
.text | ||
.global h1940_pm_return | ||
|
||
h1940_pm_return: | ||
mov r0, #S3C2410_PA_GPIO | ||
ldr pc, [ r0, #S3C2410_GSTATUS3 - S3C24XX_VA_GPIO ] |
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,21 @@ | ||
/* linux/include/asm-arm/arch-s3c2410/h1940.h | ||
* | ||
* Copyright 2006 Ben Dooks <ben-linux@fluff.org> | ||
* | ||
* H1940 definitions | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_H1940_H | ||
#define __ASM_ARCH_H1940_H | ||
|
||
#define H1940_SUSPEND_CHECKSUM (0x30003ff8) | ||
#define H1940_SUSPEND_RESUMEAT (0x30081000) | ||
#define H1940_SUSPEND_CHECK (0x30080000) | ||
|
||
extern void h1940_pm_return(void); | ||
|
||
#endif /* __ASM_ARCH_H1940_H */ |