summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-rx3715.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-12-07 20:47:58 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-12-07 22:37:44 +0000
commitbbf6f2809dbadc2bacfd73a052d8b0893dbf1762 (patch)
tree236772a5a6c7634822e39ea35d543964afcce895 /arch/arm/mach-s3c2410/mach-rx3715.c
parentb2eba6bb44300b46cdd2e5d0b19d5f4bd7d001ac (diff)
downloadop-kernel-dev-bbf6f2809dbadc2bacfd73a052d8b0893dbf1762.zip
op-kernel-dev-bbf6f2809dbadc2bacfd73a052d8b0893dbf1762.tar.gz
[ARM] 3999/1: RX3715: suspend to RAM support
The RX3715 is similar to the H1940 in the way that suspend to RAM works, so we can use most of the extant support for the H1940 with only a few modifictions Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-rx3715.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-rx3715.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-rx3715.c b/arch/arm/mach-s3c2410/mach-rx3715.c
index 23d7c05..ecbcdf7 100644
--- a/arch/arm/mach-s3c2410/mach-rx3715.c
+++ b/arch/arm/mach-s3c2410/mach-rx3715.c
@@ -42,6 +42,7 @@
#include <asm/arch/regs-gpio.h>
#include <asm/arch/regs-lcd.h>
+#include <asm/arch/h1940.h>
#include <asm/arch/nand.h>
#include <asm/arch/fb.h>
@@ -224,7 +225,9 @@ static void __init rx3715_init_irq(void)
static void __init rx3715_init_machine(void)
{
+ memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024);
s3c2410_pm_init();
+
s3c24xx_fb_set_platdata(&rx3715_lcdcfg);
}
OpenPOWER on IntegriCloud