pm34xx.c (cbe263497def23befb6f475977661bae5d1f82e4) | pm34xx.c (29cb3cd208dd0e4471bb80bec4facc49ceb199fa) |
---|---|
1/* 2 * OMAP3 Power Management Routines 3 * 4 * Copyright (C) 2006-2008 Nokia Corporation 5 * Tony Lindgren <tony@atomide.com> 6 * Jouni Hogander 7 * 8 * Copyright (C) 2007 Texas Instruments, Inc. --- 307 unchanged lines hidden (view full) --- 316 *save++ = val; 317 318 /* Read L2 AUX ctrl register */ 319 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (val)); 320 *save++ = 1; 321 *save++ = val; 322} 323 | 1/* 2 * OMAP3 Power Management Routines 3 * 4 * Copyright (C) 2006-2008 Nokia Corporation 5 * Tony Lindgren <tony@atomide.com> 6 * Jouni Hogander 7 * 8 * Copyright (C) 2007 Texas Instruments, Inc. --- 307 unchanged lines hidden (view full) --- 316 *save++ = val; 317 318 /* Read L2 AUX ctrl register */ 319 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (val)); 320 *save++ = 1; 321 *save++ = val; 322} 323 |
324static void omap34xx_do_sram_idle(unsigned long save_state) | 324static int omap34xx_do_sram_idle(unsigned long save_state) |
325{ 326 omap34xx_cpu_suspend(save_state); | 325{ 326 omap34xx_cpu_suspend(save_state); |
327 return 0; |
|
327} 328 329void omap_sram_idle(void) 330{ 331 /* Variable to tell what needs to be saved and restored 332 * in omap_sram_idle*/ 333 /* save_state = 0 => Nothing to save and restored */ 334 /* save_state = 1 => Only L1 and logic lost */ --- 629 unchanged lines hidden --- | 328} 329 330void omap_sram_idle(void) 331{ 332 /* Variable to tell what needs to be saved and restored 333 * in omap_sram_idle*/ 334 /* save_state = 0 => Nothing to save and restored */ 335 /* save_state = 1 => Only L1 and logic lost */ --- 629 unchanged lines hidden --- |