pxa3xx.c (a9503d2185bbc28e498c435a07f24986c48b5cbe) | pxa3xx.c (2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/pxa3xx.c 3 * 4 * code specific to pxa3xx aka Monahans 5 * 6 * Copyright (C) 2006 Marvell International Ltd. 7 * 8 * 2007-09-02: eric miao <eric.miao@marvell.com> --- 10 unchanged lines hidden (view full) --- 19#include <linux/pm.h> 20#include <linux/platform_device.h> 21#include <linux/irq.h> 22#include <linux/io.h> 23#include <linux/syscore_ops.h> 24#include <linux/i2c/pxa-i2c.h> 25 26#include <asm/mach/map.h> | 1/* 2 * linux/arch/arm/mach-pxa/pxa3xx.c 3 * 4 * code specific to pxa3xx aka Monahans 5 * 6 * Copyright (C) 2006 Marvell International Ltd. 7 * 8 * 2007-09-02: eric miao <eric.miao@marvell.com> --- 10 unchanged lines hidden (view full) --- 19#include <linux/pm.h> 20#include <linux/platform_device.h> 21#include <linux/irq.h> 22#include <linux/io.h> 23#include <linux/syscore_ops.h> 24#include <linux/i2c/pxa-i2c.h> 25 26#include <asm/mach/map.h> |
27#include <asm/suspend.h> |
|
27#include <mach/hardware.h> 28#include <mach/gpio.h> 29#include <mach/pxa3xx-regs.h> 30#include <mach/reset.h> 31#include <mach/ohci.h> 32#include <mach/pm.h> 33#include <mach/dma.h> 34#include <mach/regs-intc.h> --- 127 unchanged lines hidden (view full) --- 162 PCFR |= (1u << 13); /* L1_DIS */ 163 PCFR &= ~((1u << 12) | (1u << 1)); /* L0_EN | SL_ROD */ 164 165 PSPR = 0x5c014000; 166 167 /* overwrite with the resume address */ 168 *p = virt_to_phys(cpu_resume); 169 | 28#include <mach/hardware.h> 29#include <mach/gpio.h> 30#include <mach/pxa3xx-regs.h> 31#include <mach/reset.h> 32#include <mach/ohci.h> 33#include <mach/pm.h> 34#include <mach/dma.h> 35#include <mach/regs-intc.h> --- 127 unchanged lines hidden (view full) --- 163 PCFR |= (1u << 13); /* L1_DIS */ 164 PCFR &= ~((1u << 12) | (1u << 1)); /* L0_EN | SL_ROD */ 165 166 PSPR = 0x5c014000; 167 168 /* overwrite with the resume address */ 169 *p = virt_to_phys(cpu_resume); 170 |
170 cpu_suspend(0, PHYS_OFFSET - PAGE_OFFSET, 0, pxa3xx_finish_suspend); | 171 cpu_suspend(0, pxa3xx_finish_suspend); |
171 172 *p = saved_data; 173 174 AD3ER = 0; 175 176#ifndef CONFIG_IWMMXT 177 asm volatile("mar acc0, %Q0, %R0" : "=r" (acc0)); 178#endif --- 295 unchanged lines hidden --- | 172 173 *p = saved_data; 174 175 AD3ER = 0; 176 177#ifndef CONFIG_IWMMXT 178 asm volatile("mar acc0, %Q0, %R0" : "=r" (acc0)); 179#endif --- 295 unchanged lines hidden --- |